Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001561/0.001561, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2391/0.2391, allocations: 38.54 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [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.002263/0.002263, allocations: 70.41 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4118, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008113/0.4199, allocations: 4.687 MB / 0.547 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.4227, allocations: 1.399 MB / 0.5484 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.4229, allocations: 21.62 kB / 0.5484 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.4234, allocations: 103.7 kB / 0.5485 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.4241, allocations: 271 kB / 0.5487 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.4245, allocations: 132.2 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008219/0.4253, allocations: 0.592 MB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.4258, allocations: 286.4 kB / 0.5497 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.4262, allocations: 260 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.4266, allocations: 223.1 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.917e-05/0.4267, allocations: 38.41 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.4268, allocations: 40.41 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.427, allocations: 121.9 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.4272, allocations: 181.2 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000678/0.4279, allocations: 0.5111 MB / 0.551 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4279, allocations: 1.406 kB / 0.5511 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4279, allocations: 0 / 0.5511 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4279, allocations: 0 / 0.5511 GB, free: 9.973 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001357/0.4293, allocations: 0.6466 MB / 0.5517 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4293, allocations: 13.05 kB / 0.5517 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.4294, allocations: 55.61 kB / 0.5517 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.4301, allocations: 346 kB / 0.5521 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.4302, allocations: 93.02 kB / 0.5522 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.4303, allocations: 35.94 kB / 0.5522 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.431, allocations: 436.5 kB / 0.5526 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4311, allocations: 0 / 0.5526 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.4311, allocations: 16.16 kB / 0.5526 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4311, allocations: 9.531 kB / 0.5526 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.4317, allocations: 269.6 kB / 0.5529 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.4339, allocations: 1.631 MB / 0.5545 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.4342, allocations: 172.3 kB / 0.5547 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4344, allocations: 70.11 kB / 0.5547 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4344, allocations: 6.312 kB / 0.5547 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4345, allocations: 41.81 kB / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.4345, allocations: 0 / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001504/0.436, allocations: 0.6384 MB / 0.5554 GB, free: 6.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.436, allocations: 113.1 kB / 0.5555 GB, free: 6.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.4364, allocations: 288.8 kB / 0.5558 GB, free: 6.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4364, allocations: 34.52 kB / 0.5558 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4366, allocations: 255.5 kB / 0.5561 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.4367, allocations: 72.44 kB / 0.5561 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4368, allocations: 66.55 kB / 0.5562 GB, free: 5.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.437, allocations: 337.5 kB / 0.5565 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4371, allocations: 73.86 kB / 0.5566 GB, free: 5.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.4374, allocations: 203.6 kB / 0.5568 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.4379, allocations: 291 kB / 0.557 GB, free: 4.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4379, allocations: 4 kB / 0.5571 GB, free: 4.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005801/0.4385, allocations: 325.4 kB / 0.5574 GB, free: 4.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.4385, allocations: 14.48 kB / 0.5574 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4385, allocations: 7.938 kB / 0.5574 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4386, allocations: 8 kB / 0.5574 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.4388, allocations: 67.91 kB / 0.5575 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4389, allocations: 11.94 kB / 0.5575 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.439, allocations: 19.94 kB / 0.5575 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4391, allocations: 16 kB / 0.5575 GB, free: 4.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4393, allocations: 181.8 kB / 0.5577 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.4394, allocations: 27.81 kB / 0.5577 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.4398, allocations: 199.7 kB / 0.5579 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4398, allocations: 3.984 kB / 0.5579 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4398, allocations: 0 / 0.5579 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4398, allocations: 4 kB / 0.5579 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.4407, allocations: 0.5067 MB / 0.5584 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4407, allocations: 0 / 0.5584 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.441, allocations: 40.02 kB / 0.5584 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.441, allocations: 0 / 0.5584 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.441, allocations: 11.98 kB / 0.5584 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.441, allocations: 3.938 kB / 0.5584 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.441, allocations: 4 kB / 0.5585 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.4417, allocations: 446.2 kB / 0.5589 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4418, allocations: 31.91 kB / 0.5589 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.4418, allocations: 7.984 kB / 0.5589 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.442, allocations: 8 kB / 0.5589 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.4421, allocations: 23.95 kB / 0.5589 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.4421, allocations: 4 kB / 0.5589 GB, free: 2.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4423, allocations: 199.1 kB / 0.5591 GB, free: 2.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4423, allocations: 0 / 0.5591 GB, free: 2.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.4428, allocations: 72 kB / 0.5592 GB, free: 2.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.4429, allocations: 107.1 kB / 0.5593 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.4433, allocations: 202.9 kB / 0.5595 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4433, allocations: 4 kB / 0.5595 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.4435, allocations: 71.91 kB / 0.5596 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.4442, allocations: 68.86 kB / 0.5596 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4458, allocations: 0.8898 MB / 0.5605 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.4461, allocations: 210.5 kB / 0.5607 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.4462, allocations: 42.94 kB / 0.5608 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.4463, allocations: 27.44 kB / 0.5608 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4463, allocations: 7.938 kB / 0.5608 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Templates: time 0.008823/0.4551, allocations: 3.473 MB / 0.5642 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342553023248911] Failed to read output from testmodel.py, exit status != 0: 0.46645601838827133 0.48325828 0.052043485 Calling exit ...