Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.001007/0.001007, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009454/0.0009454, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 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.8944/0.8944, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2242/0.2242, allocations: 29.41 MB / 290.1 MB, free: 2.445 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.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.848e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007583/0.007612, allocations: 6.769 MB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.01328, allocations: 4.849 MB / 441.8 MB, free: 1.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.01372, allocations: 43.62 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1727/0.1864, allocations: 6.527 MB / 448.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1879, allocations: 0.5746 MB / 449 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.1889, allocations: 0.5199 MB / 449.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.1908, allocations: 2.422 MB / 451.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007797/0.1916, allocations: 0.8548 MB / 452.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.1924, allocations: 0.8401 MB / 453.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.193, allocations: 0.6851 MB / 454.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.1931, allocations: 103.8 kB / 454.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.1935, allocations: 304.8 kB / 454.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.1938, allocations: 0.5233 MB / 455.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.194, allocations: 405.6 kB / 455.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1953, allocations: 1.639 MB / 457.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1953, allocations: 0 / 457.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1953, allocations: 0 / 457.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1953, allocations: 0 / 457.3 MB, free: 42.15 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001774/0.1971, allocations: 1.429 MB / 458.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1971, allocations: 15.3 kB / 458.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1972, allocations: 137.8 kB / 458.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.1977, allocations: 188.8 kB / 459 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1988, allocations: 0.8334 MB / 459.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1988, allocations: 70.55 kB / 459.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1989, allocations: 91.66 kB / 460 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2, allocations: 1.259 MB / 461.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2, allocations: 3.094 kB / 461.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.2001, allocations: 36.33 kB / 461.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.2002, allocations: 85.38 kB / 461.4 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.2011, allocations: 1.003 MB / 462.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.2045, allocations: 4.512 MB / 466.9 MB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.2051, allocations: 0.5463 MB / 467.4 MB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2054, allocations: 338.9 kB / 467.8 MB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.2055, allocations: 10.84 kB / 467.8 MB, free: 36.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.2059, allocations: 448 kB / 468.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/0.2059, allocations: 0 / 468.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002609/0.2085, allocations: 2.361 MB / 470.6 MB, free: 35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2085, allocations: 109.4 kB / 470.7 MB, free: 34.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.2092, allocations: 0.778 MB / 471.5 MB, free: 34.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.2092, allocations: 36.92 kB / 471.5 MB, free: 34.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2094, allocations: 0.5135 MB / 472 MB, free: 34.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2095, allocations: 243 kB / 472.3 MB, free: 33.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2097, allocations: 185.2 kB / 472.4 MB, free: 33.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.2097, allocations: 407.6 kB / 472.8 MB, free: 33.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.2101, allocations: 372.2 kB / 473.2 MB, free: 33.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.2105, allocations: 0.687 MB / 473.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.2113, allocations: 1.051 MB / 474.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2113, allocations: 2.938 kB / 474.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001601/0.2129, allocations: 1.54 MB / 476.5 MB, free: 31.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2129, allocations: 10.75 kB / 476.5 MB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2129, allocations: 9.938 kB / 476.5 MB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.2137, allocations: 496.1 kB / 477 MB, free: 31.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2141, allocations: 163.3 kB / 477.1 MB, free: 31.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.2199, allocations: 6.813 MB / 484 MB, free: 27.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.2205, allocations: 45.67 kB / 484 MB, free: 27.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.2206, allocations: 46.14 kB / 484.1 MB, free: 27.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.2211, allocations: 351.5 kB / 484.4 MB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2212, allocations: 91.98 kB / 484.5 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.2223, allocations: 0.9596 MB / 485.4 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2223, allocations: 9.75 kB / 485.5 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2223, allocations: 2.062 kB / 485.5 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2223, allocations: 8.406 kB / 485.5 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.2245, allocations: 1.849 MB / 487.3 MB, free: 25.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2245, allocations: 2.172 kB / 487.3 MB, free: 25.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.2249, allocations: 124.1 kB / 487.4 MB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.2253, allocations: 160.7 kB / 487.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.2253, allocations: 26.23 kB / 487.6 MB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.2276, allocations: 4.481 MB / 492.1 MB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2276, allocations: 1.344 kB / 492.1 MB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2293, allocations: 1.383 MB / 493.5 MB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.2296, allocations: 143 kB / 493.6 MB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2297, allocations: 21.69 kB / 493.6 MB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.23, allocations: 34.02 kB / 493.7 MB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.2301, allocations: 54.06 kB / 493.7 MB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.2302, allocations: 22.28 kB / 493.8 MB, free: 20.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000613/0.2308, allocations: 0.5244 MB / 494.3 MB, free: 20.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2308, allocations: 0 / 494.3 MB, free: 20.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009332/0.2317, allocations: 280.3 kB / 494.6 MB, free: 20.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002536/0.2343, allocations: 2.325 MB / 496.9 MB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.2363, allocations: 1.282 MB / 498.2 MB, free: 18.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2363, allocations: 3.938 kB / 498.2 MB, free: 18.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.2371, allocations: 0.7595 MB / 498.9 MB, free: 18.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.2379, allocations: 223.9 kB / 499.1 MB, free: 18.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.2489, allocations: 9.421 MB / 0.4966 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.2495, allocations: 0.5444 MB / 0.4972 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006076/0.2501, allocations: 232.8 kB / 0.4974 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.2504, allocations: 369.1 kB / 0.4977 GB, free: 12.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2504, allocations: 0 / 0.4977 GB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.2918, allocations: 25.47 MB / 0.5226 GB, free: 7.723 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.874, allocations: 11.81 kB / 0.5226 GB, free: 7.715 MB / 426.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.924982756376266] Failed to read output from testmodel.py, exit status != 0: 8.997846378944814 9.009064838 8.811460077 Calling exit ...