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.0009874/0.0009874, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001076/0.001076, allocations: 166.4 kB / 25 MB, free: 8.336 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 0.9793/0.9793, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2393/0.2393, allocations: 29.41 MB / 291.2 MB, free: 2.516 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 1.373e-06/1.373e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.938e-05, allocations: 4.141 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005592/0.005621, allocations: 5.518 MB / 375.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004685/0.01031, allocations: 3.997 MB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.01066, allocations: 23.81 kB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.01775, allocations: 5.477 MB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007087/0.01846, allocations: 365.8 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.01896, allocations: 263.3 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.02042, allocations: 1.676 MB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.02082, allocations: 324.4 kB / 387.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.02124, allocations: 0.4986 MB / 387.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.0217, allocations: 434.7 kB / 388.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.02175, allocations: 44 kB / 388.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.02195, allocations: 127.7 kB / 388.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.02215, allocations: 303.2 kB / 388.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.02233, allocations: 219.5 kB / 388.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.02289, allocations: 0.541 MB / 389.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.0229, allocations: 0 / 389.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0229, allocations: 0 / 389.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.02291, allocations: 3.938 kB / 389.4 MB, free: 7.5 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.001103/0.02401, allocations: 0.9527 MB / 390.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.02405, allocations: 19.97 kB / 390.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.02445, allocations: 144.4 kB / 390.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.02511, allocations: 0.4912 MB / 391 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.02514, allocations: 37.36 kB / 391 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.0252, allocations: 59.88 kB / 391.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.02572, allocations: 469.1 kB / 391.5 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.02574, allocations: 4 kB / 391.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.02577, allocations: 16 kB / 391.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/0.02586, allocations: 48.97 kB / 391.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.02619, allocations: 225.6 kB / 391.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.02817, allocations: 2.523 MB / 394.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.02847, allocations: 221.1 kB / 394.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.02858, allocations: 91.09 kB / 394.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.02861, allocations: 16 kB / 394.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.02864, allocations: 41.33 kB / 394.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.02864, allocations: 0 / 394.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001401/0.03004, allocations: 0.9673 MB / 395.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.03009, allocations: 106.8 kB / 395.8 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.03038, allocations: 434.6 kB / 396.2 MB, free: 284 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.03041, allocations: 33.7 kB / 396.2 MB, free: 244 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.03058, allocations: 371 kB / 396.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.03065, allocations: 130.9 kB / 396.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.03075, allocations: 91.84 kB / 396.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.0309, allocations: 0.543 MB / 397.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.03101, allocations: 64.95 kB / 397.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.03121, allocations: 270.1 kB / 397.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.03153, allocations: 361.3 kB / 398 MB, free: 14.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.03153, allocations: 0 / 398 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006705/0.0322, allocations: 0.5072 MB / 398.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.03222, allocations: 11.31 kB / 398.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.03222, allocations: 4 kB / 398.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.03264, allocations: 171.2 kB / 398.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.03283, allocations: 79.83 kB / 398.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.03546, allocations: 4.116 MB / 402.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.03561, allocations: 19.95 kB / 403 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.03564, allocations: 23.98 kB / 403 MB, free: 9.066 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.0001426/0.03578, allocations: 184.4 kB / 403.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.03585, allocations: 67.64 kB / 403.2 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.03632, allocations: 340.7 kB / 403.6 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.03632, allocations: 4 kB / 403.6 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.03632, allocations: 4 kB / 403.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.03633, allocations: 0 / 403.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.0372, allocations: 0.8082 MB / 404.4 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.0372, allocations: 4 kB / 404.4 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.03743, allocations: 71.89 kB / 404.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.03754, allocations: 51.41 kB / 404.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.03756, allocations: 11.98 kB / 404.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.03886, allocations: 3.456 MB / 408 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.03886, allocations: 7.984 kB / 408 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.03944, allocations: 0.6841 MB / 408.7 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.03953, allocations: 71.58 kB / 408.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.03957, allocations: 8.062 kB / 408.7 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.0397, allocations: 23.92 kB / 408.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.03976, allocations: 27.89 kB / 408.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.03978, allocations: 15.94 kB / 408.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.03997, allocations: 275.1 kB / 409.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03997, allocations: 0 / 409.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.04039, allocations: 136 kB / 409.2 MB, free: 2.465 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.0001177/0.04051, allocations: 107.2 kB / 409.3 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007666/0.04127, allocations: 0.6837 MB / 410 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.04128, allocations: 384 / 410 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.04157, allocations: 475.2 kB / 410.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.04202, allocations: 89.91 kB / 410.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.04403, allocations: 1.256 MB / 411.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.04418, allocations: 185.7 kB / 412 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.04437, allocations: 80.31 kB / 412.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.04445, allocations: 40.48 kB / 412.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/0.04445, allocations: 0 / 412.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of Templates: time 0.008997/0.05345, allocations: 6.346 MB / 418.4 MB, free: 9.168 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.18702664389275]