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.001199/0.001199, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001226/0.001226, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.2635/0.2635, allocations: 29.41 MB / 291.2 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 3.938 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.156e-05, allocations: 9.547 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007538/0.00757, allocations: 5.174 MB / 375.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007352/0.01492, allocations: 3.965 MB / 379.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.0156, allocations: 23.75 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.02672, allocations: 5.388 MB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.02795, allocations: 361.9 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.02878, allocations: 255.4 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.03139, allocations: 1.687 MB / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.03202, allocations: 324.3 kB / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/0.03297, allocations: 0.5104 MB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.03374, allocations: 422.7 kB / 388.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.03387, allocations: 48 kB / 388.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.03425, allocations: 127.7 kB / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.03455, allocations: 303.2 kB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.03486, allocations: 211.5 kB / 388.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008887/0.03575, allocations: 0.5371 MB / 389.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.03575, allocations: 4 kB / 389.4 MB, free: 7.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03576, allocations: 0 / 389.4 MB, free: 7.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.03577, allocations: 0 / 389.4 MB, free: 7.355 MB / 362.7 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.001557/0.03733, allocations: 0.9526 MB / 390.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.03738, allocations: 11.98 kB / 390.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.03773, allocations: 148.4 kB / 390.5 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.03833, allocations: 487 kB / 391 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.03835, allocations: 33.38 kB / 391 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.03841, allocations: 55.88 kB / 391.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.03882, allocations: 437.1 kB / 391.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.03884, allocations: 3.984 kB / 391.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.03887, allocations: 16 kB / 391.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/0.03895, allocations: 48.97 kB / 391.6 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.03916, allocations: 178.7 kB / 391.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.04099, allocations: 2.407 MB / 394.2 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.04121, allocations: 201.1 kB / 394.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.04129, allocations: 83.08 kB / 394.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.04132, allocations: 8 kB / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.04134, allocations: 41.39 kB / 394.5 MB, free: 1.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.04134, allocations: 7.938 kB / 394.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001056/0.0424, allocations: 0.6764 MB / 395.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.04244, allocations: 106.8 kB / 395.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.04268, allocations: 438.3 kB / 395.7 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.04271, allocations: 33.7 kB / 395.7 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.04287, allocations: 366.8 kB / 396.1 MB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.04294, allocations: 134.9 kB / 396.2 MB, free: 148 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.04303, allocations: 99.75 kB / 396.3 MB, free: 40 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.0432, allocations: 0.539 MB / 396.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.04327, allocations: 48.95 kB / 396.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.04343, allocations: 246.9 kB / 397.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.04371, allocations: 337.3 kB / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.04371, allocations: 0 / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006131/0.04432, allocations: 487.4 kB / 397.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.04434, allocations: 6.344 kB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.04435, allocations: 4 kB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.0447, allocations: 179.5 kB / 398.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.04487, allocations: 75.83 kB / 398.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.04719, allocations: 4.018 MB / 402.2 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.04734, allocations: 12 kB / 402.2 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.04736, allocations: 16 kB / 402.3 MB, free: 9.684 MB / 378.7 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.0001555/0.04752, allocations: 188.4 kB / 402.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.04759, allocations: 59.72 kB / 402.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.04796, allocations: 324.6 kB / 402.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.04797, allocations: 4 kB / 402.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.04797, allocations: 0 / 402.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.04798, allocations: 3.984 kB / 402.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.04871, allocations: 0.6878 MB / 403.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.04871, allocations: 0 / 403.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.04892, allocations: 71.89 kB / 403.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.602e-05/0.04901, allocations: 47.33 kB / 403.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.04903, allocations: 20.05 kB / 403.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.05036, allocations: 3.418 MB / 407.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.05036, allocations: 0 / 407.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.05088, allocations: 0.6488 MB / 407.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.05097, allocations: 63.62 kB / 407.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.051, allocations: 8 kB / 407.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.05112, allocations: 20 kB / 407.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.05116, allocations: 27.89 kB / 407.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.05117, allocations: 11.98 kB / 407.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.05131, allocations: 263 kB / 408.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05131, allocations: 0 / 408.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.05176, allocations: 128 kB / 408.2 MB, free: 3.363 MB / 378.7 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.0001211/0.05188, allocations: 107.2 kB / 408.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006556/0.05254, allocations: 0.6648 MB / 409 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.05254, allocations: 0 / 409 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.05283, allocations: 460.1 kB / 409.4 MB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.05327, allocations: 93.89 kB / 409.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.05526, allocations: 1.267 MB / 410.8 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.05539, allocations: 177.7 kB / 411 MB, free: 468 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.05555, allocations: 68.33 kB / 411 MB, free: 396 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.05573, allocations: 154.2 kB / 411.2 MB, free: 240 kB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05573, allocations: 0 / 411.2 MB, free: 240 kB / 378.7 MB Notification: Performance of Templates: time 0.009381/0.06511, allocations: 6.604 MB / 417.8 MB, free: 9.734 MB / 394.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.098552509676665]