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.001773/0.001773, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002615/0.002615, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.1871/0.1871, allocations: 38.52 MB / 352.5 MB, free: 12.57 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.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.002198/0.002198, allocations: 74.86 kB / 492.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3471, allocations: 62.46 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01028/0.3573, allocations: 7.34 MB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009835/0.3672, allocations: 5.327 MB / 0.5544 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.3681, allocations: 44.38 kB / 0.5544 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.3832, allocations: 6.604 MB / 0.5609 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.385, allocations: 0.5676 MB / 0.5614 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3866, allocations: 0.5106 MB / 0.5619 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.3907, allocations: 2.39 MB / 0.5643 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.3921, allocations: 0.8648 MB / 0.5651 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3934, allocations: 0.6228 MB / 0.5657 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.3948, allocations: 0.7864 MB / 0.5665 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.3951, allocations: 100 kB / 0.5666 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.396, allocations: 323.7 kB / 0.5669 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.3967, allocations: 0.4986 MB / 0.5674 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.3978, allocations: 0.5832 MB / 0.5679 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.4008, allocations: 1.615 MB / 0.5695 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4008, allocations: 0 / 0.5695 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4008, allocations: 0 / 0.5695 GB, free: 8.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.848e-05/0.4009, allocations: 0 / 0.5695 GB, free: 8.277 MB / 414.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.004252/0.4051, allocations: 1.434 MB / 0.5709 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4052, allocations: 11.98 kB / 0.5709 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002785/0.4055, allocations: 143.6 kB / 0.5711 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.4064, allocations: 188.1 kB / 0.5712 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.4086, allocations: 0.8415 MB / 0.5721 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.4087, allocations: 65.98 kB / 0.5721 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.4089, allocations: 87.94 kB / 0.5722 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.4112, allocations: 1.235 MB / 0.5734 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.4113, allocations: 4 kB / 0.5734 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.4114, allocations: 35.98 kB / 0.5735 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/0.4118, allocations: 89.88 kB / 0.5735 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4138, allocations: 0.9991 MB / 0.5745 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/0.4222, allocations: 4.743 MB / 0.5791 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.4234, allocations: 0.5381 MB / 0.5797 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.424, allocations: 331.1 kB / 0.58 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-05/0.4241, allocations: 12.5 kB / 0.58 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.425, allocations: 448.7 kB / 0.5804 GB, free: 12.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.986e-06/0.425, allocations: 0 / 0.5804 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005277/0.4303, allocations: 2.376 MB / 0.5827 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4304, allocations: 115.5 kB / 0.5829 GB, free: 10.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4317, allocations: 0.7586 MB / 0.5836 GB, free: 9.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.4318, allocations: 37.7 kB / 0.5836 GB, free: 9.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.4323, allocations: 0.5116 MB / 0.5841 GB, free: 8.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4326, allocations: 253.9 kB / 0.5844 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.433, allocations: 182.5 kB / 0.5846 GB, free: 8.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.4332, allocations: 398.7 kB / 0.5849 GB, free: 8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.4339, allocations: 377.8 kB / 0.5853 GB, free: 7.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/0.4349, allocations: 0.6539 MB / 0.5859 GB, free: 6.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.4366, allocations: 1.057 MB / 0.587 GB, free: 5.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.4366, allocations: 4 kB / 0.587 GB, free: 5.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003653/0.4402, allocations: 1.54 MB / 0.5885 GB, free: 4.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4402, allocations: 8 kB / 0.5885 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4403, allocations: 12.5 kB / 0.5885 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.4419, allocations: 493.8 kB / 0.589 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.4426, allocations: 167.7 kB / 0.5891 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.4537, allocations: 6.885 MB / 0.5958 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.4546, allocations: 48.11 kB / 0.5959 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.4547, allocations: 44 kB / 0.5959 GB, free: 12.23 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.0006452/0.4554, allocations: 361.4 kB / 0.5963 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.4555, allocations: 87.44 kB / 0.5964 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.4576, allocations: 0.9615 MB / 0.5973 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4576, allocations: 8 kB / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.4576, allocations: 3.984 kB / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4577, allocations: 3.938 kB / 0.5973 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.4617, allocations: 1.954 MB / 0.5992 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4617, allocations: 0 / 0.5992 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.4625, allocations: 119.8 kB / 0.5993 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.4631, allocations: 166.5 kB / 0.5995 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.4632, allocations: 23.98 kB / 0.5995 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004775/0.4679, allocations: 4.494 MB / 0.6039 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4679, allocations: 0 / 0.6039 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.4705, allocations: 1.387 MB / 0.6053 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.4709, allocations: 139.4 kB / 0.6054 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.471, allocations: 19.98 kB / 0.6054 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.4715, allocations: 27.97 kB / 0.6054 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4717, allocations: 60.28 kB / 0.6055 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.4718, allocations: 27.92 kB / 0.6055 GB, free: 1.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.4726, allocations: 0.5185 MB / 0.606 GB, free: 1.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4726, allocations: 4 kB / 0.606 GB, free: 1.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4738, allocations: 283.9 kB / 0.6063 GB, free: 1.125 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.004421/0.4782, allocations: 2.313 MB / 0.6086 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.4809, allocations: 1.271 MB / 0.6098 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.4809, allocations: 4 kB / 0.6098 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.4823, allocations: 0.77 MB / 0.6106 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4835, allocations: 217.6 kB / 0.6108 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.501, allocations: 9.72 MB / 0.6203 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.5021, allocations: 1.147 MB / 0.6214 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008447/0.503, allocations: 235.3 kB / 0.6216 GB, free: 1.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.5036, allocations: 363.3 kB / 0.622 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5036, allocations: 4 kB / 0.622 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09827/0.6019, allocations: 25.34 MB / 0.6467 GB, free: 7.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/18.35, allocations: 14.81 kB / 0.6467 GB, free: 7.492 MB / 494.1 MB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 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: 21.49430646188557] Failed to read output from testmodel.py, exit status != 0: 18.571342666866258 18.595228528 18.189884408 Calling exit ...