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.001508/0.001508, allocations: 186 kB / 13.19 MB, free: 2.125 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 2/2, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001084/0.001084, allocations: 83.88 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2712/0.2712, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.461e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 56.3 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.6239, allocations: 97.61 MB / 0.5574 GB, free: 6.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.6243, allocations: 91.94 kB / 0.5574 GB, free: 6.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04739/0.6717, allocations: 9.954 MB / 0.5672 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6717, allocations: 4 kB / 0.5672 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/0.6718, allocations: 8 kB / 0.5672 GB, free: 11.97 MB / 410.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.001668/0.6735, allocations: 0.5749 MB / 0.5677 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6736, allocations: 12.03 kB / 0.5677 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.6737, allocations: 43.48 kB / 0.5678 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.6767, allocations: 0.6037 MB / 0.5684 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.6768, allocations: 24.5 kB / 0.5684 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.6769, allocations: 31.91 kB / 0.5684 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.678, allocations: 331.1 kB / 0.5687 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6781, allocations: 4 kB / 0.5688 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.6781, allocations: 12 kB / 0.5688 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.6782, allocations: 8 kB / 0.5688 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.679, allocations: 197.5 kB / 0.569 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.6821, allocations: 1.482 MB / 0.5704 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.6829, allocations: 194.4 kB / 0.5706 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.6832, allocations: 75.22 kB / 0.5707 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.6832, allocations: 8 kB / 0.5707 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.6833, allocations: 38.55 kB / 0.5707 GB, free: 8.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 4.449e-06/0.6833, allocations: 4 kB / 0.5707 GB, free: 8.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.00195/0.6853, allocations: 0.6395 MB / 0.5713 GB, free: 7.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6854, allocations: 140.5 kB / 0.5715 GB, free: 7.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.686, allocations: 263.6 kB / 0.5717 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.6861, allocations: 33.7 kB / 0.5718 GB, free: 6.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.6863, allocations: 266.4 kB / 0.572 GB, free: 6.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6865, allocations: 63.09 kB / 0.5721 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.6865, allocations: 4 kB / 0.5721 GB, free: 6.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6867, allocations: 322.8 kB / 0.5724 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.6869, allocations: 47.98 kB / 0.5724 GB, free: 6.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.6873, allocations: 148.8 kB / 0.5726 GB, free: 6.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.6876, allocations: 75.84 kB / 0.5726 GB, free: 5.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6876, allocations: 0 / 0.5726 GB, free: 5.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008173/0.6885, allocations: 229.1 kB / 0.5729 GB, free: 5.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.6885, allocations: 6.031 kB / 0.5729 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6885, allocations: 8.375 kB / 0.5729 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.6886, allocations: 11.98 kB / 0.5729 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.6895, allocations: 91.84 kB / 0.573 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.691, allocations: 1.279 MB / 0.5742 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.6915, allocations: 15.84 kB / 0.5742 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.6915, allocations: 8 kB / 0.5742 GB, free: 4.164 MB / 410.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 () * 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.0001738/0.6917, allocations: 120.9 kB / 0.5744 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6919, allocations: 31.62 kB / 0.5744 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.6926, allocations: 184.7 kB / 0.5746 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.6927, allocations: 7.953 kB / 0.5746 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6927, allocations: 0 / 0.5746 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6927, allocations: 3.984 kB / 0.5746 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.6944, allocations: 0.544 MB / 0.5751 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6944, allocations: 0 / 0.5751 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.695, allocations: 39.92 kB / 0.5751 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.695, allocations: 7.953 kB / 0.5752 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.6951, allocations: 4.031 kB / 0.5752 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.6951, allocations: 11.98 kB / 0.5752 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6951, allocations: 0 / 0.5752 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.6961, allocations: 0.519 MB / 0.5757 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.6963, allocations: 104.7 kB / 0.5758 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.6964, allocations: 4 kB / 0.5758 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.6969, allocations: 8 kB / 0.5758 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.6969, allocations: 7.984 kB / 0.5758 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.697, allocations: 4 kB / 0.5758 GB, free: 2.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.6974, allocations: 222.2 kB / 0.576 GB, free: 2.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6974, allocations: 0 / 0.576 GB, free: 2.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009804/0.6984, allocations: 68 kB / 0.5761 GB, free: 2.16 MB / 410.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 () * 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.0003291/0.6988, allocations: 139.1 kB / 0.5762 GB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.6996, allocations: 156.1 kB / 0.5764 GB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6996, allocations: 0.875 kB / 0.5764 GB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.6999, allocations: 67.92 kB / 0.5764 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7011, allocations: 85.09 kB / 0.5765 GB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.7036, allocations: 0.6286 MB / 0.5771 GB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.7043, allocations: 0.8075 MB / 0.5779 GB, free: 224 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.7045, allocations: 27.44 kB / 0.5779 GB, free: 196 kB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7045, allocations: 0 / 0.5779 GB, free: 196 kB / 410.7 MB Notification: Performance of Templates: time 0.01515/0.7197, allocations: 4.813 MB / 0.5826 GB, free: 11.38 MB / 426.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)