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.002125/0.002125, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001166/0.001166, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9843/0.9843, allocations: 177.1 MB / 205 MB, free: 5.59 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.2303/0.2303, allocations: 29.42 MB / 290.9 MB, free: 2.52 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 2.124e-06/2.124e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.747e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.00497/0.005008, allocations: 4.403 MB / 374 MB, free: 6.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.007178, allocations: 1.476 MB / 375.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.007505, allocations: 23.75 kB / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.007908, allocations: 111.2 kB / 375.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.008624, allocations: 278.1 kB / 375.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.008938, allocations: 111.8 kB / 376 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.009634, allocations: 0.5242 MB / 376.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.009816, allocations: 100.4 kB / 376.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.01026, allocations: 303.2 kB / 376.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.0105, allocations: 179.5 kB / 377.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.01053, allocations: 24 kB / 377.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.01058, allocations: 28 kB / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.01066, allocations: 99.66 kB / 377.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.01078, allocations: 127.7 kB / 377.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.01113, allocations: 266.9 kB / 377.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01113, allocations: 0 / 377.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.01113, allocations: 0 / 377.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.01114, allocations: 0 / 377.7 MB, free: 2.941 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.0007256/0.01186, allocations: 0.6916 MB / 378.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.0119, allocations: 11.98 kB / 378.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.01199, allocations: 72.56 kB / 378.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.01242, allocations: 343.7 kB / 378.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.01244, allocations: 21.03 kB / 378.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.01248, allocations: 28.33 kB / 378.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.01278, allocations: 307.7 kB / 379.1 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01279, allocations: 0 / 379.1 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.01281, allocations: 12 kB / 379.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01282, allocations: 8 kB / 379.1 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.01299, allocations: 114.8 kB / 379.2 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01417, allocations: 1.742 MB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.01445, allocations: 184.3 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.01452, allocations: 66.8 kB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.01454, allocations: 4 kB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.01457, allocations: 45.38 kB / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.01457, allocations: 0 / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007226/0.01529, allocations: 0.5636 MB / 381.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.01534, allocations: 132.5 kB / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.01556, allocations: 338.2 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01558, allocations: 33.7 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01569, allocations: 263.2 kB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.01575, allocations: 71.41 kB / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.01581, allocations: 59.36 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01594, allocations: 0.5117 MB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.01599, allocations: 27.97 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.01611, allocations: 175.1 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.01629, allocations: 223.1 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01629, allocations: 7.938 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002355/0.01653, allocations: 216.5 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01654, allocations: 8 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01655, allocations: 4 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01656, allocations: 4.438 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.01677, allocations: 87.89 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007588/0.01753, allocations: 1.801 MB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.01762, allocations: 15.92 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01763, allocations: 8.125 kB / 385.8 MB, free: 10.16 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 0.0001005/0.01773, allocations: 180.5 kB / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.01779, allocations: 35.81 kB / 386 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.01797, allocations: 160.1 kB / 386.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01797, allocations: 0 / 386.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01797, allocations: 4 kB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01798, allocations: 0 / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.01844, allocations: 485.3 kB / 386.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01844, allocations: 3.938 kB / 386.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.01857, allocations: 47.94 kB / 386.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01857, allocations: 4 kB / 386.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01858, allocations: 4 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01859, allocations: 4 kB / 386.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01859, allocations: 0 / 386.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.0189, allocations: 0.5673 MB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01892, allocations: 27.75 kB / 387.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01894, allocations: 8 kB / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.01903, allocations: 0 / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.01906, allocations: 19.97 kB / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01907, allocations: 8 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01919, allocations: 219 kB / 387.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01919, allocations: 0 / 387.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01944, allocations: 60 kB / 387.6 MB, free: 8.266 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.413e-05/0.01953, allocations: 99.17 kB / 387.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01975, allocations: 140.4 kB / 387.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01976, allocations: 0 / 387.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.01982, allocations: 62.27 kB / 387.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.02025, allocations: 80.92 kB / 388 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02157, allocations: 0.7589 MB / 388.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.02164, allocations: 108.5 kB / 388.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02176, allocations: 50.94 kB / 388.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.02181, allocations: 28.48 kB / 388.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02181, allocations: 0 / 388.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of Templates: time 0.006587/0.02839, allocations: 3.055 MB / 392 MB, free: 3.895 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: 2.952044066041708]