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.001452/0.001452, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001553/0.001553, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2713/0.2713, allocations: 38.5 MB / 348.7 MB, free: 2.609 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1209, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01061/0.1315, allocations: 7.216 MB / 0.5437 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1422, allocations: 5.297 MB / 0.5489 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1432, allocations: 39.69 kB / 0.5489 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.1552, allocations: 5.755 MB / 0.5545 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.1569, allocations: 0.5637 MB / 0.5551 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1583, allocations: 0.499 MB / 0.5556 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.1621, allocations: 2.257 MB / 0.5578 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.1637, allocations: 0.8299 MB / 0.5586 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.1652, allocations: 0.6266 MB / 0.5592 GB, free: 408 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.1665, allocations: 0.7708 MB / 0.56 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.1667, allocations: 100 kB / 0.5601 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008411/0.1676, allocations: 323.7 kB / 0.5604 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.1681, allocations: 0.4986 MB / 0.5608 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007584/0.1689, allocations: 0.5831 MB / 0.5614 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.1716, allocations: 1.611 MB / 0.563 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1716, allocations: 0 / 0.563 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1716, allocations: 0 / 0.563 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.1716, allocations: 4 kB / 0.563 GB, free: 12.5 MB / 430.1 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.003378/0.175, allocations: 1.516 MB / 0.5645 GB, free: 10.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.1751, allocations: 11.97 kB / 0.5645 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.1752, allocations: 139.6 kB / 0.5646 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.1761, allocations: 196 kB / 0.5648 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1779, allocations: 0.9099 MB / 0.5657 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.178, allocations: 61.98 kB / 0.5658 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.1782, allocations: 87.94 kB / 0.5658 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.1802, allocations: 1.235 MB / 0.567 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1802, allocations: 0 / 0.567 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1803, allocations: 47.92 kB / 0.5671 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.1806, allocations: 89.88 kB / 0.5672 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.1823, allocations: 1.003 MB / 0.5682 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007203/0.1895, allocations: 4.902 MB / 0.5729 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1906, allocations: 0.6292 MB / 0.5736 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.1912, allocations: 327.3 kB / 0.5739 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.1912, allocations: 8.562 kB / 0.5739 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006906/0.1919, allocations: 453.7 kB / 0.5743 GB, free: 476 kB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.1919, allocations: 0 / 0.5743 GB, free: 476 kB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005054/0.197, allocations: 2.745 MB / 0.577 GB, free: 13.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.197, allocations: 111.4 kB / 0.5771 GB, free: 13.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1981, allocations: 0.7586 MB / 0.5778 GB, free: 12.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.1982, allocations: 53.62 kB / 0.5779 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.1986, allocations: 0.5077 MB / 0.5784 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.1988, allocations: 249.9 kB / 0.5786 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.1991, allocations: 178.5 kB / 0.5788 GB, free: 11.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.1993, allocations: 402.7 kB / 0.5792 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.1999, allocations: 373.8 kB / 0.5795 GB, free: 10.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.2008, allocations: 0.6539 MB / 0.5802 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2023, allocations: 1.057 MB / 0.5812 GB, free: 8.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2023, allocations: 0 / 0.5812 GB, free: 8.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003203/0.2055, allocations: 1.615 MB / 0.5828 GB, free: 7.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2056, allocations: 8 kB / 0.5828 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.2056, allocations: 15.98 kB / 0.5828 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.2072, allocations: 486.2 kB / 0.5833 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.2078, allocations: 167.7 kB / 0.5834 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2521/0.4599, allocations: 7.088 MB / 0.5904 GB, free: 49.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.4608, allocations: 44.19 kB / 0.5904 GB, free: 49.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.4609, allocations: 48.66 kB / 0.5904 GB, free: 49.97 MB / 446.1 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.0005394/0.4614, allocations: 358.2 kB / 0.5908 GB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.4616, allocations: 90.31 kB / 0.5909 GB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.4634, allocations: 1.114 MB / 0.592 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4634, allocations: 6.938 kB / 0.592 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4634, allocations: 1.844 kB / 0.592 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4635, allocations: 5.391 kB / 0.592 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.4671, allocations: 2.116 MB / 0.594 GB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4671, allocations: 1.906 kB / 0.594 GB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.4679, allocations: 123 kB / 0.5942 GB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.4684, allocations: 160.9 kB / 0.5943 GB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.4685, allocations: 24.88 kB / 0.5943 GB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.4719, allocations: 4.815 MB / 0.599 GB, free: 44.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4719, allocations: 1.531 kB / 0.599 GB, free: 44.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.4742, allocations: 1.537 MB / 0.6005 GB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.4745, allocations: 218.6 kB / 0.6007 GB, free: 43.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.4746, allocations: 18.28 kB / 0.6008 GB, free: 43.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.4751, allocations: 31.11 kB / 0.6008 GB, free: 43.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4752, allocations: 58.83 kB / 0.6008 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.4753, allocations: 25.95 kB / 0.6009 GB, free: 43.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007329/0.476, allocations: 0.5193 MB / 0.6014 GB, free: 43.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.476, allocations: 0 / 0.6014 GB, free: 43.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4771, allocations: 279.4 kB / 0.6016 GB, free: 43.22 MB / 446.1 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.003905/0.481, allocations: 2.45 MB / 0.604 GB, free: 41.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.4836, allocations: 1.283 MB / 0.6053 GB, free: 41.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4836, allocations: 4.078 kB / 0.6053 GB, free: 41.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.485, allocations: 0.7657 MB / 0.606 GB, free: 40.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4861, allocations: 218.2 kB / 0.6063 GB, free: 40.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.5024, allocations: 9.865 MB / 0.6159 GB, free: 35.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.5032, allocations: 1.142 MB / 0.617 GB, free: 34.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007923/0.504, allocations: 235.7 kB / 0.6172 GB, free: 34.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5044, allocations: 367.6 kB / 0.6176 GB, free: 34.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5044, allocations: 0 / 0.6176 GB, free: 34.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05812/0.5625, allocations: 24.55 MB / 0.6416 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.22, allocations: 4.062 kB / 0.6416 GB, free: 13.36 MB / 446.1 MB " [Timeout remaining time 643] (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: 20.63488060599775] Failed to read output from testmodel.py, exit status != 0: 17.383533423009794 17.397871887 17.223100524 Calling exit ...