Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001323/0.001323, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001446/0.001446, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2185/0.2185, allocations: 38.56 MB / 353.2 MB, free: 12.31 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [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.002175/0.002175, allocations: 67.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007426/0.3663, allocations: 5.191 MB / 0.5482 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006903/0.3732, allocations: 3.82 MB / 0.552 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.3737, allocations: 22.78 kB / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.3849, allocations: 5.38 MB / 0.5572 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3862, allocations: 342.4 kB / 0.5576 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.387, allocations: 247.5 kB / 0.5578 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.3894, allocations: 1.641 MB / 0.5594 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.3899, allocations: 324.3 kB / 0.5597 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.3904, allocations: 390.5 kB / 0.5601 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.3911, allocations: 462.2 kB / 0.5605 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.3912, allocations: 48 kB / 0.5606 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.3915, allocations: 115.8 kB / 0.5607 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3918, allocations: 291.2 kB / 0.561 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.3921, allocations: 254.8 kB / 0.5612 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.393, allocations: 0.7587 MB / 0.5619 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.393, allocations: 0 / 0.5619 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.393, allocations: 0 / 0.5619 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.393, allocations: 4 kB / 0.562 GB, free: 0.918 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.001683/0.3947, allocations: 0.8589 MB / 0.5628 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3947, allocations: 11.98 kB / 0.5628 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.3952, allocations: 98.53 kB / 0.5629 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3963, allocations: 490.5 kB / 0.5634 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.3964, allocations: 36.98 kB / 0.5634 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.3965, allocations: 47.95 kB / 0.5634 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.3975, allocations: 0.657 MB / 0.5641 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.3975, allocations: 3.938 kB / 0.5641 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.3975, allocations: 19.94 kB / 0.5641 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.3977, allocations: 48.97 kB / 0.5642 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.3985, allocations: 495.6 kB / 0.5646 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.4021, allocations: 2.264 MB / 0.5668 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.4027, allocations: 299.5 kB / 0.5671 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.4029, allocations: 174.5 kB / 0.5673 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.403, allocations: 7.938 kB / 0.5673 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.403, allocations: 42.56 kB / 0.5673 GB, free: 11.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/0.403, allocations: 0 / 0.5673 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00256/0.4056, allocations: 1.266 MB / 0.5686 GB, free: 9.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.4057, allocations: 110.8 kB / 0.5687 GB, free: 9.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.4061, allocations: 401.8 kB / 0.5691 GB, free: 9.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4061, allocations: 29.7 kB / 0.5691 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.4064, allocations: 328.1 kB / 0.5694 GB, free: 8.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4065, allocations: 126.9 kB / 0.5695 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.4066, allocations: 86.14 kB / 0.5696 GB, free: 8.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4068, allocations: 358.8 kB / 0.57 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.4071, allocations: 169 kB / 0.5701 GB, free: 8.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.4074, allocations: 297.2 kB / 0.5704 GB, free: 7.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.4081, allocations: 483.7 kB / 0.5709 GB, free: 7.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4081, allocations: 4 kB / 0.5709 GB, free: 7.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001346/0.4094, allocations: 0.709 MB / 0.5716 GB, free: 6.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4095, allocations: 12.03 kB / 0.5716 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4095, allocations: 4 kB / 0.5716 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.4101, allocations: 213.3 kB / 0.5718 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.4105, allocations: 75.83 kB / 0.5718 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.4161, allocations: 3.956 MB / 0.5757 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.4166, allocations: 16 kB / 0.5757 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.4167, allocations: 23.98 kB / 0.5757 GB, free: 2.102 MB / 414.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): 38 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004775/0.4172, allocations: 225.6 kB / 0.576 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.4174, allocations: 55.66 kB / 0.576 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.4187, allocations: 494.9 kB / 0.5765 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4187, allocations: 4 kB / 0.5765 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4188, allocations: 0 / 0.5765 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4188, allocations: 4 kB / 0.5765 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.4213, allocations: 0.9071 MB / 0.5774 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4213, allocations: 4.062 kB / 0.5774 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.422, allocations: 75.89 kB / 0.5775 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.4222, allocations: 53.67 kB / 0.5775 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.4223, allocations: 15.92 kB / 0.5775 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.4253, allocations: 2.575 MB / 0.58 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4253, allocations: 3.938 kB / 0.58 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.4271, allocations: 0.8111 MB / 0.5808 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.4274, allocations: 75.62 kB / 0.5809 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.4275, allocations: 8 kB / 0.5809 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.4279, allocations: 11.98 kB / 0.5809 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.428, allocations: 27.95 kB / 0.581 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.428, allocations: 16 kB / 0.581 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004958/0.4285, allocations: 267.1 kB / 0.5812 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4285, allocations: 0 / 0.5812 GB, free: 12.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4295, allocations: 136 kB / 0.5814 GB, free: 12.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%), (1,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.0002014/0.4297, allocations: 120.6 kB / 0.5815 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.4319, allocations: 0.716 MB / 0.5822 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4319, allocations: 0 / 0.5822 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.4328, allocations: 405.2 kB / 0.5826 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.434, allocations: 106.7 kB / 0.5827 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.4379, allocations: 1.564 MB / 0.5842 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.4385, allocations: 348.8 kB / 0.5845 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.4388, allocations: 39.42 kB / 0.5846 GB, free: 8.645 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4388, allocations: 0 / 0.5846 GB, free: 8.645 MB / 430.1 MB Notification: Performance of Templates: time 0.02403/0.4628, allocations: 11.38 MB / 0.5957 GB, free: 13.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.266497165895998] Failed to read output from testmodel.py, exit status != 0: 0.47279702965170145 0.48791435600000005 0.091437397 Calling exit ...