Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001272/0.001272, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001448/0.001448, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2679/0.2679, allocations: 29.41 MB / 291.2 MB, free: 2.406 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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.811e-05, allocations: 8.422 kB / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004842/0.00487, allocations: 4.434 MB / 321.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.006692, allocations: 1.492 MB / 322.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.006912, allocations: 23.81 kB / 322.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.007296, allocations: 115.1 kB / 322.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.007842, allocations: 282.1 kB / 323.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.008105, allocations: 107.7 kB / 323.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.008688, allocations: 0.5213 MB / 323.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.008863, allocations: 111.1 kB / 324 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.009204, allocations: 295.2 kB / 324.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.00942, allocations: 167.5 kB / 324.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.009451, allocations: 28 kB / 324.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.009487, allocations: 24 kB / 324.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.009572, allocations: 107.7 kB / 324.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.009669, allocations: 127.7 kB / 324.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.009988, allocations: 270.9 kB / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.009992, allocations: 0 / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009993, allocations: 0 / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.009998, allocations: 0 / 325 MB, free: 7.82 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006108/0.01061, allocations: 0.5628 MB / 325.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.01064, allocations: 15.98 kB / 325.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.0107, allocations: 48.89 kB / 325.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.0111, allocations: 318.1 kB / 325.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.01111, allocations: 21.03 kB / 325.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.01115, allocations: 24.38 kB / 325.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.01137, allocations: 251.5 kB / 326.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01139, allocations: 3.984 kB / 326.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.01141, allocations: 12 kB / 326.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01141, allocations: 4 kB / 326.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.01152, allocations: 87.33 kB / 326.3 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.01241, allocations: 1.223 MB / 327.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.01262, allocations: 150.3 kB / 327.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.01266, allocations: 55.3 kB / 327.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.01268, allocations: 4 kB / 327.7 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.0127, allocations: 38.56 kB / 327.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/0.01271, allocations: 0 / 327.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005378/0.01324, allocations: 328.2 kB / 328.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.01329, allocations: 136.5 kB / 328.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.01344, allocations: 266.9 kB / 328.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.01345, allocations: 25.7 kB / 328.5 MB, free: 3.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.01353, allocations: 197 kB / 328.7 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01357, allocations: 71.8 kB / 328.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.01362, allocations: 53.67 kB / 328.8 MB, free: 3.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.01371, allocations: 350.7 kB / 329.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.01374, allocations: 19.98 kB / 329.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.01382, allocations: 124.8 kB / 329.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01396, allocations: 170.1 kB / 329.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01396, allocations: 4 kB / 329.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001644/0.01413, allocations: 165.3 kB / 329.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01414, allocations: 7.984 kB / 329.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01415, allocations: 4 kB / 329.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01416, allocations: 4 kB / 329.6 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.01438, allocations: 91.83 kB / 329.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005729/0.01495, allocations: 1.208 MB / 330.9 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.01503, allocations: 8 kB / 330.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01504, allocations: 12 kB / 331 MB, free: 1.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.01514, allocations: 132.6 kB / 331.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.01519, allocations: 19.98 kB / 331.1 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.01536, allocations: 134.7 kB / 331.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01536, allocations: 4 kB / 331.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01537, allocations: 3.938 kB / 331.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01537, allocations: 4 kB / 331.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.01574, allocations: 329.3 kB / 331.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01574, allocations: 0 / 331.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.01591, allocations: 43.97 kB / 331.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01591, allocations: 4 kB / 331.6 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01592, allocations: 11.94 kB / 331.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01592, allocations: 7.969 kB / 331.6 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01592, allocations: 0 / 331.6 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.01616, allocations: 397.5 kB / 332 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01618, allocations: 23.81 kB / 332 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.0162, allocations: 7.938 kB / 332.1 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.0163, allocations: 4 kB / 332.1 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.01632, allocations: 15.97 kB / 332.1 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.01633, allocations: 8 kB / 332.1 MB, free: 132 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.0164, allocations: 96.61 kB / 332.2 MB, free: 36 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0164, allocations: 0 / 332.2 MB, free: 36 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.01666, allocations: 64.05 kB / 332.2 MB, free: 15.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.225e-05/0.01676, allocations: 84.19 kB / 332.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.01696, allocations: 112.8 kB / 332.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01696, allocations: 0 / 332.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.01701, allocations: 60.09 kB / 332.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.01741, allocations: 86.38 kB / 332.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.01867, allocations: 0.7089 MB / 333.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.01874, allocations: 108.6 kB / 333.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.01885, allocations: 42.95 kB / 333.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.01899, allocations: 107.3 kB / 333.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01899, allocations: 0 / 333.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Templates: time 0.006171/0.02516, allocations: 3.177 MB / 336.7 MB, free: 11.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.754034034907818]