Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007992/0.0007992, allocations: 91.61 kB / 20.77 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 162 kB / 24.06 MB, free: 480 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9335/0.9335, allocations: 177.1 MB / 204.4 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2243/0.2243, allocations: 29.42 MB / 290.2 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 430.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.641e-05, allocations: 2.281 kB / 430.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005245/0.005261, allocations: 5.065 MB / 435.5 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.00984, allocations: 3.638 MB / 439.1 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.01023, allocations: 23.81 kB / 439.2 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1651/0.1753, allocations: 5.369 MB / 444.5 MB, free: 46.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.176, allocations: 334.4 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1764, allocations: 224.7 kB / 445.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.1774, allocations: 1.657 MB / 446.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.1778, allocations: 0.5174 MB / 447.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.1781, allocations: 0.5027 MB / 447.8 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1784, allocations: 383.6 kB / 448.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.1785, allocations: 57.34 kB / 448.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1786, allocations: 69.53 kB / 448.3 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1787, allocations: 268 kB / 448.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1788, allocations: 220.6 kB / 448.7 MB, free: 46.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.1793, allocations: 0.8159 MB / 449.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1793, allocations: 0 / 449.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1793, allocations: 3.75 kB / 449.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1793, allocations: 3.312 kB / 449.6 MB, free: 46.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0008658/0.1802, allocations: 0.8082 MB / 450.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1802, allocations: 13.36 kB / 450.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.1803, allocations: 89.61 kB / 450.5 MB, free: 45.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.1805, allocations: 74.61 kB / 450.5 MB, free: 45.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.1811, allocations: 0.5176 MB / 451.1 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1811, allocations: 39.25 kB / 451.1 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.1811, allocations: 39.94 kB / 451.1 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.1817, allocations: 0.6354 MB / 451.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1817, allocations: 9.562 kB / 451.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1817, allocations: 18.22 kB / 451.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.1818, allocations: 52.28 kB / 451.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.1822, allocations: 468.8 kB / 452.3 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1836, allocations: 2.328 MB / 454.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1838, allocations: 260.1 kB / 454.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1839, allocations: 128.6 kB / 455 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1839, allocations: 3.156 kB / 455 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.184, allocations: 41.08 kB / 455 MB, free: 43.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.562e-06/0.184, allocations: 0 / 455 MB, free: 43.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001516/0.1855, allocations: 1.243 MB / 456.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1855, allocations: 83.62 kB / 456.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1857, allocations: 418.4 kB / 456.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1857, allocations: 33.17 kB / 456.8 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.1858, allocations: 315.7 kB / 457.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1859, allocations: 117.3 kB / 457.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.1859, allocations: 78.89 kB / 457.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.186, allocations: 357.6 kB / 457.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1861, allocations: 130.5 kB / 457.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1862, allocations: 274.7 kB / 458.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1865, allocations: 457.1 kB / 458.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1865, allocations: 3.25 kB / 458.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005143/0.187, allocations: 0.6019 MB / 459.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1871, allocations: 6.344 kB / 459.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1871, allocations: 10.5 kB / 459.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.1873, allocations: 142.4 kB / 459.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1875, allocations: 79.66 kB / 459.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1889, allocations: 3.44 MB / 462.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.189, allocations: 20.94 kB / 462.8 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.189, allocations: 22.64 kB / 462.8 MB, free: 37.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1892, allocations: 236.1 kB / 463.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1892, allocations: 45.97 kB / 463.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1897, allocations: 0.4959 MB / 463.6 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1897, allocations: 3.188 kB / 463.6 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003386/0.19, allocations: 406.6 kB / 464 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.19, allocations: 0 / 464 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.1907, allocations: 0.9282 MB / 464.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1907, allocations: 0 / 464.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1908, allocations: 50.22 kB / 465 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.191, allocations: 87.94 kB / 465.1 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.191, allocations: 7.031 kB / 465.1 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.1918, allocations: 1.908 MB / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1918, allocations: 0 / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.1923, allocations: 0.6428 MB / 467.6 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.1923, allocations: 62.62 kB / 467.7 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1923, allocations: 11.03 kB / 467.7 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.1924, allocations: 10.59 kB / 467.7 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1925, allocations: 28.06 kB / 467.7 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1925, allocations: 6.219 kB / 467.7 MB, free: 34.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1926, allocations: 305.4 kB / 468 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1926, allocations: 0 / 468 MB, free: 34.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.1929, allocations: 117.8 kB / 468.1 MB, free: 34.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005473/0.1935, allocations: 1.189 MB / 469.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1939, allocations: 0.5883 MB / 469.9 MB, free: 33.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1939, allocations: 0 / 469.9 MB, free: 33.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1941, allocations: 300.5 kB / 470.2 MB, free: 33.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1945, allocations: 115 kB / 470.3 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1975, allocations: 4.562 MB / 474.9 MB, free: 30.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.1977, allocations: 318.9 kB / 475.2 MB, free: 30.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1978, allocations: 78.17 kB / 475.3 MB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.198, allocations: 181.8 kB / 475.5 MB, free: 30.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.198, allocations: 0 / 475.5 MB, free: 30.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2297, allocations: 11.55 MB / 487 MB, free: 28.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.614, allocations: 6.219 kB / 487 MB, free: 28.47 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.595377154648304] Failed to read output from testmodel.py, exit status != 0: 7.705134892836213 7.716627302 7.535220512 Calling exit ...