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.001032/0.001032, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001096/0.001096, allocations: 165.5 kB / 24.99 MB, free: 8.305 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2651/0.2651, allocations: 29.43 MB / 291.2 MB, free: 2.5 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.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.743e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004846/0.004874, allocations: 4.685 MB / 374.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.00693, allocations: 1.472 MB / 375.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.00715, allocations: 23.81 kB / 375.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.007532, allocations: 111 kB / 375.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.00804, allocations: 286.1 kB / 376.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.008275, allocations: 111.8 kB / 376.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.008841, allocations: 0.525 MB / 376.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.009025, allocations: 96.5 kB / 376.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.009324, allocations: 287.2 kB / 377.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.009546, allocations: 179.5 kB / 377.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.009581, allocations: 28 kB / 377.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.743e-05/0.009619, allocations: 28 kB / 377.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.224e-05/0.009711, allocations: 111.6 kB / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.009824, allocations: 123.7 kB / 377.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.01013, allocations: 263 kB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01013, allocations: 0 / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01013, allocations: 0 / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.01014, allocations: 0 / 377.9 MB, free: 2.973 MB / 346.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.0009931/0.01113, allocations: 0.6993 MB / 378.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01116, allocations: 11.98 kB / 378.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.01124, allocations: 60.7 kB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.01166, allocations: 363.4 kB / 379 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.01168, allocations: 21.03 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.01172, allocations: 28.36 kB / 379.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.01201, allocations: 287.8 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.01202, allocations: 11.94 kB / 379.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.01204, allocations: 8 kB / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.01205, allocations: 12 kB / 379.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.0122, allocations: 110.8 kB / 379.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.01329, allocations: 1.738 MB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.01356, allocations: 192.2 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.01363, allocations: 66.86 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.01364, allocations: 4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.01367, allocations: 45.33 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.01367, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007156/0.01439, allocations: 0.5505 MB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.01444, allocations: 140.4 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.01464, allocations: 334.2 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.01466, allocations: 30.08 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01478, allocations: 275.1 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.01483, allocations: 63.44 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.01488, allocations: 59.36 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.015, allocations: 0.5156 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.01505, allocations: 23.98 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01516, allocations: 171.2 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.01533, allocations: 226.8 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01533, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002218/0.01556, allocations: 236.9 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01557, allocations: 8 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01558, allocations: 4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01559, allocations: 4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.01582, allocations: 88.33 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.01682, allocations: 1.798 MB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.0169, allocations: 11.98 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01691, allocations: 12 kB / 386.1 MB, free: 10.18 MB / 362.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 9.543e-05/0.01701, allocations: 168.6 kB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.01706, allocations: 51.7 kB / 386.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.01725, allocations: 148.2 kB / 386.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01725, allocations: 4 kB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01725, allocations: 0 / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01726, allocations: 3.984 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.01773, allocations: 492.3 kB / 386.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.01773, allocations: 3.938 kB / 386.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.01786, allocations: 39.92 kB / 387 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01787, allocations: 4 kB / 387 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01788, allocations: 8.031 kB / 387 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01788, allocations: 4 kB / 387 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01788, allocations: 0 / 387 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.01817, allocations: 0.5641 MB / 387.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.0182, allocations: 31.7 kB / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01822, allocations: 11.98 kB / 387.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.01832, allocations: 0 / 387.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.01835, allocations: 15.98 kB / 387.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01835, allocations: 8 kB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01847, allocations: 223 kB / 387.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01847, allocations: 4 kB / 387.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.01874, allocations: 60 kB / 387.9 MB, free: 8.277 MB / 362.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 8.931e-05/0.01883, allocations: 95.19 kB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.01906, allocations: 136.5 kB / 388.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.01907, allocations: 4 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.01913, allocations: 55.67 kB / 388.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.01958, allocations: 84.56 kB / 388.3 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02091, allocations: 0.7522 MB / 389 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.315e-05/0.02098, allocations: 112.5 kB / 389.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.02109, allocations: 42.94 kB / 389.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.02114, allocations: 28.5 kB / 389.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02114, allocations: 0 / 389.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005033/0.02617, allocations: 2.907 MB / 392.1 MB, free: 4.078 MB / 362.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.141856106929481]