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.001093/0.001093, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002644, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001143/0.001143, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002667, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07308/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.1112/0.1112, allocations: 29.44 MB / 273.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/0.2334, allocations: 9.527 MB / 283.1 MB, free: 12.82 MB / 282.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 1.563e-06/1.563e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.902e-05, allocations: 3.469 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006203/0.006222, allocations: 5.309 MB / 289.7 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.01112, allocations: 4.062 MB / 293.8 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.01145, allocations: 27.28 kB / 293.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006136/0.01758, allocations: 4.915 MB / 298.7 MB, free: 356 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.01819, allocations: 361.9 kB / 299.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.01865, allocations: 255.4 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.02022, allocations: 1.637 MB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.02089, allocations: 317.1 kB / 301.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.02144, allocations: 0.5549 MB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.02192, allocations: 414.8 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.02199, allocations: 44 kB / 302.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.02226, allocations: 127.7 kB / 302.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.02245, allocations: 263.4 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.0226, allocations: 183.6 kB / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.02316, allocations: 0.4982 MB / 303.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.02317, allocations: 0 / 303.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02317, allocations: 0 / 303.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.02318, allocations: 0 / 303.3 MB, free: 11.71 MB / 298.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.001112/0.02429, allocations: 0.9489 MB / 304.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.02432, allocations: 11.97 kB / 304.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.02468, allocations: 185.9 kB / 304.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.02528, allocations: 456.2 kB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.0253, allocations: 37.36 kB / 305 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.02536, allocations: 55.88 kB / 305 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.02591, allocations: 423.6 kB / 305.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.02593, allocations: 0 / 305.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.02596, allocations: 16 kB / 305.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.929e-05/0.02604, allocations: 44.97 kB / 305.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.02626, allocations: 173.5 kB / 305.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.02793, allocations: 1.851 MB / 307.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.02816, allocations: 227.4 kB / 307.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.02824, allocations: 70.61 kB / 307.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.02827, allocations: 7.984 kB / 307.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.0283, allocations: 42.5 kB / 307.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.02831, allocations: 0 / 307.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00126/0.02956, allocations: 0.6101 MB / 308.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.0296, allocations: 114.8 kB / 308.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.0298, allocations: 351.2 kB / 308.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.02982, allocations: 33.86 kB / 309 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.02993, allocations: 277 kB / 309.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.02999, allocations: 130.9 kB / 309.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.03007, allocations: 82.09 kB / 309.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.03016, allocations: 366.6 kB / 309.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.03023, allocations: 55.81 kB / 309.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.03034, allocations: 177.2 kB / 310 MB, free: 4.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.03058, allocations: 297.3 kB / 310.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.03058, allocations: 4 kB / 310.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005086/0.03109, allocations: 410.7 kB / 310.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.03111, allocations: 11.98 kB / 310.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.03112, allocations: 4 kB / 310.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.03147, allocations: 171.9 kB / 310.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.03165, allocations: 87.88 kB / 311 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.03371, allocations: 2.925 MB / 313.9 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.03385, allocations: 8 kB / 313.9 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.03387, allocations: 19.98 kB / 313.9 MB, free: 440 kB / 298.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.0001203/0.03399, allocations: 136.5 kB / 314.1 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.03405, allocations: 35.97 kB / 314.1 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.03438, allocations: 287.6 kB / 314.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.03438, allocations: 8 kB / 314.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.03439, allocations: 0 / 314.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.03439, allocations: 7.984 kB / 314.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.03504, allocations: 0.5893 MB / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.03505, allocations: 4 kB / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.03531, allocations: 89.91 kB / 315.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.03539, allocations: 51.7 kB / 315.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-05/0.03547, allocations: 47.34 kB / 315.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.03549, allocations: 8 kB / 315.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.03674, allocations: 2.391 MB / 317.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03674, allocations: 0 / 317.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.03715, allocations: 0.5376 MB / 318.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.03718, allocations: 15.94 kB / 318.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.0373, allocations: 4 kB / 318.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.03735, allocations: 35.88 kB / 318.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.03736, allocations: 16.06 kB / 318.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.03747, allocations: 144.7 kB / 318.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03747, allocations: 0 / 318.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.03785, allocations: 132 kB / 318.5 MB, free: 11.6 MB / 314.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.0001106/0.03796, allocations: 96.34 kB / 318.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.03854, allocations: 0.5345 MB / 319.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.03855, allocations: 12.97 kB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.03881, allocations: 359.1 kB / 319.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.03941, allocations: 0.8048 MB / 320.3 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.04725, allocations: 1.125 MB / 321.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.0474, allocations: 181.7 kB / 321.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.04762, allocations: 64.34 kB / 321.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.04781, allocations: 131.3 kB / 321.7 MB, free: 8.039 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.04781, allocations: 0 / 321.7 MB, free: 8.039 MB / 314.7 MB Notification: Performance of Templates: time 0.009073/0.05688, allocations: 6.795 MB / 328.5 MB, free: 1.367 MB / 314.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: 2.802161999978125]