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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.1784/0.1784, allocations: 38.52 MB / 344.4 MB, free: 2.508 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/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001959/0.001959, allocations: 63.89 kB / 482 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 61.26 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006154/0.3382, allocations: 5.526 MB / 0.536 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.3442, allocations: 4.192 MB / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.3447, allocations: 15 kB / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.3547, allocations: 5.051 MB / 0.545 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3558, allocations: 343.1 kB / 0.5453 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.3565, allocations: 247.5 kB / 0.5456 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3586, allocations: 1.613 MB / 0.5471 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.359, allocations: 268 kB / 0.5474 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.3595, allocations: 380.3 kB / 0.5478 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.3602, allocations: 485.9 kB / 0.5482 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.897e-05/0.3603, allocations: 45.91 kB / 0.5483 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3605, allocations: 127.6 kB / 0.5484 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.3608, allocations: 282.4 kB / 0.5487 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.3612, allocations: 317.9 kB / 0.549 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.3621, allocations: 0.7513 MB / 0.5497 GB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3621, allocations: 0 / 0.5497 GB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3621, allocations: 1.062 kB / 0.5497 GB, free: 8.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3621, allocations: 0 / 0.5497 GB, free: 8.734 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.001773/0.3639, allocations: 0.9248 MB / 0.5506 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.364, allocations: 12.86 kB / 0.5506 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.3644, allocations: 103.5 kB / 0.5507 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3655, allocations: 0.5553 MB / 0.5513 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.3655, allocations: 32.98 kB / 0.5513 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3656, allocations: 51.95 kB / 0.5513 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3667, allocations: 0.653 MB / 0.552 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.3667, allocations: 7.938 kB / 0.552 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.3667, allocations: 19.94 kB / 0.552 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3669, allocations: 48.97 kB / 0.552 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.3677, allocations: 495.6 kB / 0.5525 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.3714, allocations: 2.528 MB / 0.555 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.372, allocations: 299.6 kB / 0.5553 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3723, allocations: 170.5 kB / 0.5554 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.3723, allocations: 8.438 kB / 0.5554 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3723, allocations: 38.5 kB / 0.5555 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.3723, allocations: 4 kB / 0.5555 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003056/0.3754, allocations: 1.649 MB / 0.5571 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.3755, allocations: 106.8 kB / 0.5572 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.376, allocations: 433.8 kB / 0.5576 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3761, allocations: 29.7 kB / 0.5576 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.3763, allocations: 312.2 kB / 0.5579 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.3764, allocations: 123 kB / 0.5581 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3766, allocations: 94.19 kB / 0.5581 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3768, allocations: 366.8 kB / 0.5585 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.377, allocations: 161 kB / 0.5586 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.3774, allocations: 301.8 kB / 0.5589 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.3781, allocations: 483.7 kB / 0.5594 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3781, allocations: 0 / 0.5594 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001417/0.3795, allocations: 0.796 MB / 0.5602 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3795, allocations: 8.031 kB / 0.5602 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3795, allocations: 4 kB / 0.5602 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.3802, allocations: 217.5 kB / 0.5604 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3805, allocations: 71.83 kB / 0.5605 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/0.3855, allocations: 4.237 MB / 0.5646 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.3858, allocations: 19.94 kB / 0.5646 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.3858, allocations: 23.98 kB / 0.5646 GB, free: 8.766 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.0003175/0.3861, allocations: 229.9 kB / 0.5649 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.3862, allocations: 47.72 kB / 0.5649 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/0.3872, allocations: 0.6378 MB / 0.5655 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3872, allocations: 4 kB / 0.5655 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3872, allocations: 4 kB / 0.5655 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3872, allocations: 8.016 kB / 0.5655 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.389, allocations: 1.179 MB / 0.5667 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.389, allocations: 8.062 kB / 0.5667 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.3894, allocations: 79.81 kB / 0.5668 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.3896, allocations: 49.69 kB / 0.5668 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3896, allocations: 11.98 kB / 0.5668 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.3918, allocations: 2.843 MB / 0.5696 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3918, allocations: 0 / 0.5696 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.393, allocations: 0.9533 MB / 0.5705 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.3932, allocations: 152.7 kB / 0.5707 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.3933, allocations: 8 kB / 0.5707 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3935, allocations: 11.98 kB / 0.5707 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.3936, allocations: 23.97 kB / 0.5707 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3936, allocations: 12 kB / 0.5707 GB, free: 1.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.394, allocations: 291.1 kB / 0.571 GB, free: 1.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 8 kB / 0.571 GB, free: 1.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.3946, allocations: 132 kB / 0.5712 GB, free: 1.562 MB / 414.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.0001387/0.3947, allocations: 115 kB / 0.5713 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.396, allocations: 0.7201 MB / 0.572 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.396, allocations: 0 / 0.572 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.3966, allocations: 414 kB / 0.5724 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.3974, allocations: 121.5 kB / 0.5725 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3998, allocations: 1.498 MB / 0.5739 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.4004, allocations: 0.9522 MB / 0.5749 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.4007, allocations: 104.4 kB / 0.575 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4008, allocations: 35.44 kB / 0.575 GB, free: 13.49 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4008, allocations: 0 / 0.575 GB, free: 13.49 MB / 430.1 MB Notification: Performance of Templates: time 0.01401/0.4148, allocations: 7.144 MB / 0.582 GB, free: 6.406 MB / 430.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: 4.9764019306749105]