Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 170.1 kB / 16.07 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000706/0.000706, allocations: 83.56 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1643/0.1643, allocations: 38.07 MB / 356.9 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 16 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.242, allocations: 56.32 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.001926/0.244, allocations: 1.78 MB / 481.4 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2463, allocations: 1.948 MB / 483.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.2464, allocations: 1.188 kB / 483.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2465, allocations: 15.06 kB / 483.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.2466, allocations: 25.3 kB / 483.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.2485, allocations: 0.6754 MB / 484.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.2486, allocations: 101.8 kB / 484.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.2487, allocations: 3 kB / 484.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.2487, allocations: 30 kB / 484.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.2488, allocations: 39.58 kB / 484.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2488, allocations: 1.469 kB / 484.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.2507, allocations: 1.154 MB / 485.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.2507, allocations: 20.39 kB / 485.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.2508, allocations: 45.39 kB / 485.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.2523, allocations: 0.9708 MB / 486.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2523, allocations: 0 / 486.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2523, allocations: 1.812 kB / 486.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2523, allocations: 0 / 486.4 MB, free: 6.129 MB / 314.7 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.0005642/0.2529, allocations: 0.4909 MB / 486.9 MB, free: 5.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.253, allocations: 14.19 kB / 486.9 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.253, allocations: 8.766 kB / 486.9 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2531, allocations: 185.7 kB / 487.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2531, allocations: 5.406 kB / 487.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2531, allocations: 10.11 kB / 487.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2533, allocations: 59.67 kB / 487.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.2533, allocations: 0 / 487.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2533, allocations: 0 / 487.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.2533, allocations: 1.125 kB / 487.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.2534, allocations: 20.16 kB / 487.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2535, allocations: 171.1 kB / 487.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.2536, allocations: 50.11 kB / 487.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.2536, allocations: 38.41 kB / 487.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.2536, allocations: 0 / 487.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.2536, allocations: 31.22 kB / 487.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.2537, allocations: 1.75 kB / 487.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000228/0.2539, allocations: 141.4 kB / 487.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2539, allocations: 90.14 kB / 487.7 MB, free: 4.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.254, allocations: 135.9 kB / 487.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.254, allocations: 27.59 kB / 487.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.2541, allocations: 86.97 kB / 488 MB, free: 4.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.2541, allocations: 26.22 kB / 488 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2541, allocations: 0 / 488 MB, free: 4.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.2541, allocations: 324.2 kB / 488.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.2542, allocations: 23.48 kB / 488.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.2542, allocations: 22.73 kB / 488.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2543, allocations: 125.9 kB / 488.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2543, allocations: 4.031 kB / 488.5 MB, free: 4.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001347/0.2545, allocations: 130.1 kB / 488.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.2545, allocations: 44.78 kB / 488.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2545, allocations: 0 / 488.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2545, allocations: 0 / 488.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2546, allocations: 1.375 kB / 488.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2546, allocations: 0.6562 kB / 488.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.2546, allocations: 6.688 kB / 488.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2546, allocations: 7.203 kB / 488.7 MB, free: 4.137 MB / 314.7 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.107e-05/0.2547, allocations: 172.5 kB / 488.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.2547, allocations: 8.547 kB / 488.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.23e-05/0.2547, allocations: 6.922 kB / 488.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2548, allocations: 1.375 kB / 488.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2548, allocations: 1.078 kB / 488.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2548, allocations: 0 / 488.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.2548, allocations: 173 kB / 489 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2549, allocations: 1.375 kB / 489 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.2549, allocations: 0 / 489 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2549, allocations: 0.5625 kB / 489 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2549, allocations: 3.5 kB / 489 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2549, allocations: 9.375 kB / 489 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2549, allocations: 0 / 489 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2551, allocations: 221.7 kB / 489.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.2551, allocations: 88.3 kB / 489.4 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2552, allocations: 1.953 kB / 489.4 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.2552, allocations: 3.406 kB / 489.4 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.2552, allocations: 2.047 kB / 489.4 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2552, allocations: 8.188 kB / 489.4 MB, free: 3.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.2553, allocations: 98.39 kB / 489.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2553, allocations: 0 / 489.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001088/0.2564, allocations: 314.5 kB / 489.8 MB, free: 3.41 MB / 314.7 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.0008606/0.2572, allocations: 372.5 kB / 490.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2575, allocations: 204.4 kB / 490.3 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2575, allocations: 1.375 kB / 490.3 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2576, allocations: 149.7 kB / 490.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2578, allocations: 5.25 kB / 490.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.2582, allocations: 305.1 kB / 490.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.799e-05/0.2583, allocations: 0.6946 MB / 491.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.2583, allocations: 8.781 kB / 491.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2583, allocations: 0 / 491.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of Templates: time 0.01002/0.2684, allocations: 5.773 MB / 497.3 MB, free: 296 kB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1)