Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001862/0.001862, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002212/0.002212, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.602/1.602, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2459/0.2459, allocations: 38.52 MB / 348.7 MB, free: 2.676 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-master/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_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_latest_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.003183/0.003183, allocations: 67.89 kB / 487.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1395, allocations: 62.41 MB / 0.5367 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01039/0.1499, allocations: 7.214 MB / 0.5437 GB, free: 360 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008994/0.1588, allocations: 5.289 MB / 0.5489 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.1595, allocations: 39.69 kB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.1703, allocations: 5.754 MB / 0.5546 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1721, allocations: 0.5676 MB / 0.5551 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1735, allocations: 0.4911 MB / 0.5556 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00319/0.1767, allocations: 2.257 MB / 0.5578 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1779, allocations: 0.8298 MB / 0.5586 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/0.1788, allocations: 0.6266 MB / 0.5592 GB, free: 448 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.1799, allocations: 0.7747 MB / 0.56 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.18, allocations: 104 kB / 0.5601 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.1807, allocations: 315.7 kB / 0.5604 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005378/0.1813, allocations: 0.5102 MB / 0.5609 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.182, allocations: 0.5792 MB / 0.5614 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.1843, allocations: 1.607 MB / 0.563 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.1843, allocations: 0 / 0.563 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1843, allocations: 0 / 0.563 GB, free: 12.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.1844, allocations: 0 / 0.563 GB, free: 12.54 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.00368/0.188, allocations: 1.525 MB / 0.5645 GB, free: 10.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1881, allocations: 8.031 kB / 0.5645 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.1883, allocations: 139.6 kB / 0.5646 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.1892, allocations: 184.1 kB / 0.5648 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.191, allocations: 0.9216 MB / 0.5657 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.1911, allocations: 62 kB / 0.5658 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.1913, allocations: 91.92 kB / 0.5659 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.1932, allocations: 1.235 MB / 0.5671 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.1932, allocations: 3.938 kB / 0.5671 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.1933, allocations: 28 kB / 0.5671 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/0.1936, allocations: 101.9 kB / 0.5672 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.1953, allocations: 0.9991 MB / 0.5682 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007365/0.2026, allocations: 4.902 MB / 0.573 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2037, allocations: 0.6292 MB / 0.5736 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.2043, allocations: 327.3 kB / 0.5739 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.2043, allocations: 8.562 kB / 0.5739 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006926/0.205, allocations: 453.7 kB / 0.5743 GB, free: 0.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.964e-06/0.205, allocations: 0 / 0.5743 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.00536/0.2104, allocations: 2.751 MB / 0.577 GB, free: 13.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.2105, allocations: 111.4 kB / 0.5771 GB, free: 13.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2115, allocations: 0.7624 MB / 0.5779 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.2116, allocations: 49.69 kB / 0.5779 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.212, allocations: 0.5077 MB / 0.5784 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.2123, allocations: 249.9 kB / 0.5786 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.2126, allocations: 182.5 kB / 0.5788 GB, free: 11.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.2128, allocations: 398.7 kB / 0.5792 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.2134, allocations: 377.8 kB / 0.5796 GB, free: 10.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.2143, allocations: 0.65 MB / 0.5802 GB, free: 10.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2158, allocations: 1.053 MB / 0.5812 GB, free: 9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2158, allocations: 4 kB / 0.5812 GB, free: 8.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004495/0.2203, allocations: 1.619 MB / 0.5828 GB, free: 7.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.2203, allocations: 8 kB / 0.5828 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.2203, allocations: 15.98 kB / 0.5828 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.2228, allocations: 482.3 kB / 0.5833 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2238, allocations: 171.7 kB / 0.5834 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2439/0.4677, allocations: 7.084 MB / 0.5904 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/0.4686, allocations: 46.86 kB / 0.5904 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/0.4687, allocations: 44.28 kB / 0.5905 GB, free: 50.07 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.0005361/0.4692, allocations: 353.7 kB / 0.5908 GB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.4694, allocations: 93.78 kB / 0.5909 GB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.4713, allocations: 1.106 MB / 0.592 GB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4713, allocations: 8.594 kB / 0.592 GB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4713, allocations: 1.188 kB / 0.592 GB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4713, allocations: 6.281 kB / 0.592 GB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.4748, allocations: 2.121 MB / 0.594 GB, free: 49.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4748, allocations: 1.875 kB / 0.594 GB, free: 49.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.4756, allocations: 124 kB / 0.5942 GB, free: 49.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/0.4761, allocations: 161 kB / 0.5943 GB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.4762, allocations: 24.06 kB / 0.5943 GB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.4801, allocations: 4.811 MB / 0.599 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4801, allocations: 2.344 kB / 0.599 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.4824, allocations: 1.536 MB / 0.6005 GB, free: 43.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.4828, allocations: 220.4 kB / 0.6008 GB, free: 43.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4829, allocations: 18.7 kB / 0.6008 GB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.4834, allocations: 33.48 kB / 0.6008 GB, free: 43.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.4836, allocations: 54.33 kB / 0.6009 GB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.4836, allocations: 22.89 kB / 0.6009 GB, free: 43.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008429/0.4845, allocations: 0.523 MB / 0.6014 GB, free: 43.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4845, allocations: 0.75 kB / 0.6014 GB, free: 43.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4856, allocations: 279.5 kB / 0.6017 GB, free: 43.35 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.003851/0.4894, allocations: 2.451 MB / 0.604 GB, free: 41.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.4921, allocations: 1.29 MB / 0.6053 GB, free: 41.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4921, allocations: 0 / 0.6053 GB, free: 41.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4934, allocations: 0.7596 MB / 0.606 GB, free: 40.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4945, allocations: 221.7 kB / 0.6063 GB, free: 40.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.5087, allocations: 9.875 MB / 0.6159 GB, free: 35.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5092, allocations: 1.147 MB / 0.617 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006409/0.5098, allocations: 236.5 kB / 0.6173 GB, free: 34.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.5102, allocations: 362.1 kB / 0.6176 GB, free: 34.38 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5102, allocations: 0 / 0.6176 GB, free: 34.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.5662, allocations: 24.56 MB / 0.6416 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/17.37, allocations: 11.72 kB / 0.6416 GB, free: 13.62 MB / 446.1 MB " [Timeout remaining time 642] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.842961654998362] Failed to read output from testmodel.py, exit status != 0: 17.554690705612302 17.572421848 17.383926118 Calling exit ...