Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 183.3 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 102.7 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3356/0.3356, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004568, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.5992, allocations: 97.7 MB / 0.5632 GB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.5996, allocations: 103.2 kB / 0.5633 GB, free: 1.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04233/0.6419, allocations: 9.943 MB / 0.573 GB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.642, allocations: 4 kB / 0.573 GB, free: 9.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.642, allocations: 11.94 kB / 0.573 GB, free: 9.422 MB / 378.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.001418/0.6435, allocations: 0.6226 MB / 0.5737 GB, free: 8.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6435, allocations: 8.031 kB / 0.5737 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.6436, allocations: 43.48 kB / 0.5737 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.6458, allocations: 0.6333 MB / 0.5743 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.6459, allocations: 22.75 kB / 0.5743 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/0.646, allocations: 27.12 kB / 0.5744 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.6468, allocations: 328 kB / 0.5747 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.6469, allocations: 11.69 kB / 0.5747 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.6469, allocations: 10.94 kB / 0.5747 GB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6469, allocations: 4 kB / 0.5747 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.6475, allocations: 204 kB / 0.5749 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.6501, allocations: 1.496 MB / 0.5764 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.6507, allocations: 196.5 kB / 0.5766 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.6507, allocations: 0 / 0.5766 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.6508, allocations: 50.12 kB / 0.5766 GB, free: 6.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.544e-06/0.6508, allocations: 0 / 0.5766 GB, free: 6.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.001679/0.6525, allocations: 0.676 MB / 0.5773 GB, free: 5.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.6526, allocations: 132.5 kB / 0.5774 GB, free: 5.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.6531, allocations: 283.3 kB / 0.5777 GB, free: 4.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6532, allocations: 32.83 kB / 0.5777 GB, free: 4.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.6534, allocations: 260.2 kB / 0.5779 GB, free: 4.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.6534, allocations: 73 kB / 0.578 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.6535, allocations: 3.312 kB / 0.578 GB, free: 4.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6536, allocations: 321.8 kB / 0.5783 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.6538, allocations: 51.83 kB / 0.5784 GB, free: 4.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.654, allocations: 143.2 kB / 0.5785 GB, free: 4.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.6543, allocations: 75.36 kB / 0.5786 GB, free: 4.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6543, allocations: 0 / 0.5786 GB, free: 4.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005771/0.6549, allocations: 237 kB / 0.5788 GB, free: 3.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6549, allocations: 6.812 kB / 0.5788 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6549, allocations: 4 kB / 0.5788 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.6549, allocations: 8 kB / 0.5788 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.6556, allocations: 75.09 kB / 0.5789 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6568, allocations: 1.294 MB / 0.5802 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.6571, allocations: 6.312 kB / 0.5802 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.6572, allocations: 19.31 kB / 0.5802 GB, free: 2.395 MB / 378.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.6575, allocations: 166.2 kB / 0.5803 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.6576, allocations: 31.62 kB / 0.5804 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.6581, allocations: 177.2 kB / 0.5805 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6582, allocations: 4 kB / 0.5805 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6582, allocations: 3.953 kB / 0.5805 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6582, allocations: 7.984 kB / 0.5806 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.6593, allocations: 0.5403 MB / 0.5811 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6594, allocations: 4 kB / 0.5811 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.6598, allocations: 39.92 kB / 0.5811 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6598, allocations: 0 / 0.5811 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.6599, allocations: 15.69 kB / 0.5811 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.6599, allocations: 0 / 0.5811 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.6599, allocations: 4 kB / 0.5811 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.6606, allocations: 0.5308 MB / 0.5817 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.6608, allocations: 104.7 kB / 0.5818 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.6608, allocations: 7 kB / 0.5818 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.6612, allocations: 10.88 kB / 0.5818 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.6612, allocations: 12.03 kB / 0.5818 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.6612, allocations: 7.75 kB / 0.5818 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.6616, allocations: 220.5 kB / 0.582 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6616, allocations: 3.938 kB / 0.582 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006382/0.6622, allocations: 62.19 kB / 0.5821 GB, free: 0.6211 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002769/0.6625, allocations: 139.4 kB / 0.5822 GB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.6632, allocations: 159.8 kB / 0.5824 GB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6632, allocations: 0 / 0.5824 GB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.6634, allocations: 72.91 kB / 0.5824 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.6643, allocations: 82.25 kB / 0.5825 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.6667, allocations: 1.033 MB / 0.5835 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.6673, allocations: 0.8135 MB / 0.5843 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6674, allocations: 30.38 kB / 0.5843 GB, free: 14.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6674, allocations: 0 / 0.5843 GB, free: 14.36 MB / 394.7 MB Notification: Performance of Templates: time 0.0123/0.6797, allocations: 4.819 MB / 0.589 GB, free: 9.59 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)