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.001761/0.001761, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002177/0.002177, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1952/0.1952, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.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.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: 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.002061/0.002061, allocations: 71.02 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3594, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008179/0.3676, allocations: 5.404 MB / 0.5473 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.3745, allocations: 4.037 MB / 0.5512 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.3751, allocations: 22.69 kB / 0.5512 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.3866, allocations: 5.425 MB / 0.5565 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.3876, allocations: 338.4 kB / 0.5569 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.3881, allocations: 215.7 kB / 0.5571 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.3906, allocations: 1.637 MB / 0.5587 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.3914, allocations: 0.5339 MB / 0.5592 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.3919, allocations: 382.7 kB / 0.5596 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/0.3927, allocations: 442.4 kB / 0.56 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.3928, allocations: 59.94 kB / 0.56 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3929, allocations: 71.92 kB / 0.5601 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.3932, allocations: 259.3 kB / 0.5604 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.3936, allocations: 322.5 kB / 0.5607 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3946, allocations: 0.8211 MB / 0.5615 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3946, allocations: 0 / 0.5615 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3946, allocations: 0 / 0.5615 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3946, allocations: 0 / 0.5615 GB, free: 0.5156 MB / 398.1 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.001661/0.3963, allocations: 0.8027 MB / 0.5622 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3963, allocations: 11.98 kB / 0.5623 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.3965, allocations: 94.62 kB / 0.5623 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.3967, allocations: 76.5 kB / 0.5624 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3978, allocations: 499.2 kB / 0.5629 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.3978, allocations: 33 kB / 0.5629 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.3979, allocations: 40 kB / 0.563 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009808/0.3989, allocations: 0.6336 MB / 0.5636 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3989, allocations: 4 kB / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.3989, allocations: 23.98 kB / 0.5636 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3991, allocations: 44.97 kB / 0.5637 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008037/0.3999, allocations: 475.5 kB / 0.5641 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.4033, allocations: 2.431 MB / 0.5665 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.4037, allocations: 257.2 kB / 0.5667 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.404, allocations: 129.7 kB / 0.5668 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.404, allocations: 8 kB / 0.5669 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.404, allocations: 38.5 kB / 0.5669 GB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.404, allocations: 0 / 0.5669 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00306/0.4071, allocations: 1.251 MB / 0.5681 GB, free: 9.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.4071, allocations: 81.11 kB / 0.5682 GB, free: 9.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.4077, allocations: 417.8 kB / 0.5686 GB, free: 8.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.4077, allocations: 29.7 kB / 0.5686 GB, free: 8.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.4079, allocations: 304.2 kB / 0.5689 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.408, allocations: 123 kB / 0.569 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4081, allocations: 86.08 kB / 0.5691 GB, free: 8.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4083, allocations: 350.7 kB / 0.5694 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.4086, allocations: 136.7 kB / 0.5696 GB, free: 7.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.4089, allocations: 274.3 kB / 0.5698 GB, free: 7.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.4095, allocations: 457.9 kB / 0.5703 GB, free: 6.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4095, allocations: 0 / 0.5703 GB, free: 6.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001098/0.4106, allocations: 0.5924 MB / 0.5709 GB, free: 6.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4106, allocations: 8 kB / 0.5709 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4106, allocations: 7.938 kB / 0.5709 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.4111, allocations: 153.8 kB / 0.571 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4114, allocations: 75.84 kB / 0.5711 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.4151, allocations: 3.465 MB / 0.5745 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4154, allocations: 20.05 kB / 0.5745 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4155, allocations: 20 kB / 0.5745 GB, free: 2.406 MB / 414.1 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.0003665/0.4158, allocations: 237.5 kB / 0.5747 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.4159, allocations: 55.59 kB / 0.5748 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.417, allocations: 0.5 MB / 0.5753 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.417, allocations: 4 kB / 0.5753 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007884/0.4177, allocations: 409.2 kB / 0.5757 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4178, allocations: 4 kB / 0.5757 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.4194, allocations: 0.9577 MB / 0.5766 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4194, allocations: 0 / 0.5766 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.4196, allocations: 43.91 kB / 0.5766 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/0.4199, allocations: 88.78 kB / 0.5767 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.4199, allocations: 8 kB / 0.5767 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.4222, allocations: 1.92 MB / 0.5786 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4222, allocations: 0 / 0.5786 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4233, allocations: 0.6509 MB / 0.5793 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.4234, allocations: 67.58 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4235, allocations: 8 kB / 0.5793 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4237, allocations: 8 kB / 0.5793 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.4237, allocations: 23.95 kB / 0.5794 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.4238, allocations: 8 kB / 0.5794 GB, free: 13.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.4242, allocations: 303.1 kB / 0.5797 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4242, allocations: 4.062 kB / 0.5797 GB, free: 12.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.4248, allocations: 119.9 kB / 0.5798 GB, free: 12.77 MB / 430.1 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.001338/0.4261, allocations: 1.193 MB / 0.5809 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.4273, allocations: 0.5957 MB / 0.5815 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4273, allocations: 0 / 0.5815 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.4277, allocations: 286.5 kB / 0.5818 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.4284, allocations: 126.2 kB / 0.5819 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/0.4352, allocations: 4.62 MB / 0.5864 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.4358, allocations: 0.9243 MB / 0.5873 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.4361, allocations: 68.33 kB / 0.5874 GB, free: 4.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.4363, allocations: 179.4 kB / 0.5876 GB, free: 4.445 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4363, allocations: 4 kB / 0.5876 GB, free: 4.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06496/0.5013, allocations: 10.88 MB / 0.5982 GB, free: 9.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.9, allocations: 7.875 kB / 0.5982 GB, free: 9.723 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.970523806994606] Failed to read output from testmodel.py, exit status != 0: 13.027967547001026 13.056154592 12.655849544 Calling exit ...