Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 92.53 kB / 16.3 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 184.3 kB / 17.19 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1678/0.1678, allocations: 38.04 MB / 309.7 MB, free: 6.137 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005098, allocations: 18.81 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2734, allocations: 56.32 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00202/0.2754, allocations: 1.71 MB / 434.5 MB, free: 17.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.2761, allocations: 0.5274 MB / 435 MB, free: 16.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.2762, allocations: 0 / 435 MB, free: 16.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.2764, allocations: 19.86 kB / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.2764, allocations: 11.97 kB / 435.1 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2767, allocations: 43.94 kB / 435.1 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.2767, allocations: 43.8 kB / 435.2 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.2768, allocations: 8 kB / 435.2 MB, free: 16.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.2769, allocations: 19.92 kB / 435.2 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.2769, allocations: 15.92 kB / 435.2 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.277, allocations: 0 / 435.2 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2771, allocations: 43.94 kB / 435.2 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.2771, allocations: 7.938 kB / 435.3 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2771, allocations: 29.7 kB / 435.3 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2773, allocations: 57.89 kB / 435.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2773, allocations: 0 / 435.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2773, allocations: 0 / 435.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2773, allocations: 0 / 435.3 MB, free: 16.29 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003389/0.2776, allocations: 392.7 kB / 435.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2777, allocations: 11.97 kB / 435.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.2777, allocations: 7.859 kB / 435.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2779, allocations: 171.1 kB / 435.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2779, allocations: 0 / 435.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.2779, allocations: 0 / 435.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2781, allocations: 53.69 kB / 436 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2781, allocations: 0 / 436 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2781, allocations: 4 kB / 436 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2781, allocations: 0 / 436 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.2782, allocations: 23.92 kB / 436 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.2783, allocations: 161.6 kB / 436.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.2783, allocations: 46.59 kB / 436.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2784, allocations: 0 / 436.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2784, allocations: 30.56 kB / 436.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2784, allocations: 4 kB / 436.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002597/0.2787, allocations: 236.7 kB / 436.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2787, allocations: 81.11 kB / 436.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.2788, allocations: 114 kB / 436.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2788, allocations: 25.7 kB / 436.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.2788, allocations: 92.12 kB / 436.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.2789, allocations: 27.56 kB / 436.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.2789, allocations: 0 / 436.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.2789, allocations: 322.8 kB / 437.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.279, allocations: 20.03 kB / 437.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.279, allocations: 23.97 kB / 437.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.2791, allocations: 61.69 kB / 437.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2791, allocations: 0 / 437.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.2792, allocations: 119.3 kB / 437.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2793, allocations: 49.62 kB / 437.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2793, allocations: 0 / 437.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2793, allocations: 0 / 437.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.2793, allocations: 0 / 437.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2793, allocations: 0 / 437.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.2793, allocations: 15.91 kB / 437.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2794, allocations: 0 / 437.4 MB, free: 13.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.2794, allocations: 163.5 kB / 437.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.2795, allocations: 4 kB / 437.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.203e-05/0.2795, allocations: 4.375 kB / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2795, allocations: 4 kB / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2795, allocations: 0 / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2795, allocations: 0 / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.2796, allocations: 173.5 kB / 437.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.2796, allocations: 4 kB / 437.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.2796, allocations: 0 / 437.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2796, allocations: 0 / 437.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2796, allocations: 3.984 kB / 437.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2796, allocations: 4 kB / 437.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2796, allocations: 0 / 437.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.2798, allocations: 214.6 kB / 437.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.2798, allocations: 81.02 kB / 438 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2799, allocations: 8.031 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.2799, allocations: 4 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.2799, allocations: 0 / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2799, allocations: 4 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.28, allocations: 95.58 kB / 438.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.28, allocations: 0 / 438.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.2802, allocations: 28 kB / 438.2 MB, free: 13.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001598/0.2804, allocations: 107.2 kB / 438.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2806, allocations: 199.3 kB / 438.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2806, allocations: 0 / 438.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.2807, allocations: 151.3 kB / 438.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2809, allocations: 7.5 kB / 438.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.2812, allocations: 236.8 kB / 438.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2814, allocations: 0.6965 MB / 439.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.2814, allocations: 0 / 439.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-06/0.2814, allocations: 7.438 kB / 439.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2815, allocations: 0 / 439.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Templates: time 0.003167/0.2846, allocations: 0.9666 MB / 440.5 MB, free: 10.65 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) Environment - environmentSimulation: