Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001558, allocations: 184.8 kB / 13.19 MB, free: 2.121 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.002/2.002, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001035/0.001035, allocations: 91.73 kB / 267.1 MB, free: 9.273 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.3155/0.3155, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.993e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.6774, allocations: 100.8 MB / 0.5605 GB, free: 2.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004979/0.678, allocations: 91.89 kB / 0.5606 GB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07345/0.7515, allocations: 12.55 MB / 0.5728 GB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7515, allocations: 0 / 0.5728 GB, free: 6.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.875e-05/0.7516, allocations: 12 kB / 0.5729 GB, free: 6.125 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001692/0.7533, allocations: 0.6644 MB / 0.5735 GB, free: 5.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7533, allocations: 8.031 kB / 0.5735 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.7543, allocations: 99.28 kB / 0.5736 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.7578, allocations: 0.8535 MB / 0.5744 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.7579, allocations: 33 kB / 0.5745 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.758, allocations: 47.92 kB / 0.5745 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7595, allocations: 0.6134 MB / 0.5751 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.7596, allocations: 7.922 kB / 0.5751 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.7597, allocations: 20 kB / 0.5751 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.7598, allocations: 24.78 kB / 0.5752 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.761, allocations: 446.7 kB / 0.5756 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.7664, allocations: 2.914 MB / 0.5784 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.767, allocations: 197 kB / 0.5786 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.7673, allocations: 128.7 kB / 0.5787 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.7674, allocations: 11.94 kB / 0.5788 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.7674, allocations: 42.55 kB / 0.5788 GB, free: 15.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.887e-06/0.7675, allocations: 4 kB / 0.5788 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002335/0.7698, allocations: 0.8564 MB / 0.5796 GB, free: 14.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.7699, allocations: 77.3 kB / 0.5797 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.7705, allocations: 290.6 kB / 0.58 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.7705, allocations: 29.7 kB / 0.58 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.7708, allocations: 345.6 kB / 0.5803 GB, free: 14.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.771, allocations: 90.75 kB / 0.5804 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.771, allocations: 8 kB / 0.5804 GB, free: 13.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.7712, allocations: 334.8 kB / 0.5808 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.7716, allocations: 136.8 kB / 0.5809 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.7722, allocations: 325.2 kB / 0.5812 GB, free: 13.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.7727, allocations: 208.9 kB / 0.5814 GB, free: 12.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7728, allocations: 0 / 0.5814 GB, free: 12.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001707/0.7745, allocations: 0.5629 MB / 0.5819 GB, free: 12.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.7745, allocations: 8.781 kB / 0.582 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009869/0.7755, allocations: 320.6 kB / 0.5823 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.7761, allocations: 80.78 kB / 0.5823 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.7768, allocations: 99.81 kB / 0.5824 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.7792, allocations: 1.597 MB / 0.584 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.7798, allocations: 19.98 kB / 0.584 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.7799, allocations: 23.98 kB / 0.584 GB, free: 9.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.7801, allocations: 128.8 kB / 0.5842 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.7802, allocations: 39.47 kB / 0.5842 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.7813, allocations: 348.5 kB / 0.5845 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.7814, allocations: 8 kB / 0.5845 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7814, allocations: 3.953 kB / 0.5845 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.7814, allocations: 4 kB / 0.5845 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.7845, allocations: 0.8798 MB / 0.5854 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.7845, allocations: 4 kB / 0.5854 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.7853, allocations: 51.97 kB / 0.5855 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.7853, allocations: 3.953 kB / 0.5855 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.7854, allocations: 11.98 kB / 0.5855 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.7854, allocations: 7.938 kB / 0.5855 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7854, allocations: 0 / 0.5855 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.787, allocations: 0.573 MB / 0.586 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.7872, allocations: 112.7 kB / 0.5861 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.7873, allocations: 4 kB / 0.5862 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.7878, allocations: 12.22 kB / 0.5862 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.7879, allocations: 27.91 kB / 0.5862 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.788, allocations: 8 kB / 0.5862 GB, free: 7.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004817/0.7885, allocations: 226.1 kB / 0.5864 GB, free: 7.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7885, allocations: 0 / 0.5864 GB, free: 7.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001091/0.7896, allocations: 108 kB / 0.5865 GB, free: 7.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002941/0.7899, allocations: 127.1 kB / 0.5866 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.7916, allocations: 482.5 kB / 0.5871 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7916, allocations: 1.562 kB / 0.5871 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.7922, allocations: 143.8 kB / 0.5872 GB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.793, allocations: 67.12 kB / 0.5873 GB, free: 6.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.796, allocations: 0.837 MB / 0.5881 GB, free: 5.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.797, allocations: 0.8776 MB / 0.589 GB, free: 4.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.7973, allocations: 31.44 kB / 0.589 GB, free: 4.688 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7974, allocations: 0 / 0.589 GB, free: 4.688 MB / 426.7 MB Notification: Performance of Templates: time 0.0183/0.8157, allocations: 5.687 MB / 0.5946 GB, free: 14.99 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)