Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001252/0.001252, allocations: 191 kB / 18.63 MB, free: 4.512 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.759/1.759, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1867/0.1867, allocations: 37.98 MB / 309.8 MB, free: 5.977 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.001394/0.001394, allocations: 67.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2478, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002762/0.2506, allocations: 2.051 MB / 434.1 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.2514, allocations: 0.5581 MB / 434.6 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.2514, allocations: 0 / 434.6 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2516, allocations: 11.92 kB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2517, allocations: 31.83 kB / 434.7 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.252, allocations: 59.84 kB / 434.7 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2521, allocations: 75.69 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.2522, allocations: 4 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.2523, allocations: 31.84 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.2523, allocations: 23.91 kB / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2523, allocations: 4 kB / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2525, allocations: 71.84 kB / 434.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.2525, allocations: 19.91 kB / 435 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2526, allocations: 19.81 kB / 435 MB, free: 16.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.2527, allocations: 101.6 kB / 435.1 MB, free: 16.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2527, allocations: 4 kB / 435.1 MB, free: 16.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2527, allocations: 4 kB / 435.1 MB, free: 16.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2527, allocations: 0 / 435.1 MB, free: 16.42 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003268/0.2531, allocations: 398.4 kB / 435.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2531, allocations: 15.89 kB / 435.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.2532, allocations: 4.844 kB / 435.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2533, allocations: 191.6 kB / 435.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.2533, allocations: 384 / 435.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.2533, allocations: 8.109 kB / 435.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2534, allocations: 73.61 kB / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2535, allocations: 0 / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2535, allocations: 0 / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2535, allocations: 4 kB / 435.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.2535, allocations: 31.92 kB / 435.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.2536, allocations: 161.6 kB / 436 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.2537, allocations: 54.56 kB / 436 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.2537, allocations: 48.81 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2537, allocations: 4 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.2538, allocations: 30.56 kB / 436.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.2538, allocations: 0 / 436.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002131/0.254, allocations: 187.2 kB / 436.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.254, allocations: 89.09 kB / 436.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.2541, allocations: 122 kB / 436.5 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.2541, allocations: 25.7 kB / 436.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.2541, allocations: 84.14 kB / 436.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.2542, allocations: 43.48 kB / 436.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.2542, allocations: 21.7 kB / 436.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.2543, allocations: 322.8 kB / 437 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.2543, allocations: 24 kB / 437 MB, free: 14.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.2543, allocations: 31.98 kB / 437 MB, free: 14.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.2544, allocations: 155.4 kB / 437.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2545, allocations: 0 / 437.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001106/0.2546, allocations: 151.2 kB / 437.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.2546, allocations: 49.67 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2546, allocations: 4.062 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2546, allocations: 0 / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2547, allocations: 3.938 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2547, allocations: 0 / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.2547, allocations: 11.84 kB / 437.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2547, allocations: 8 kB / 437.4 MB, free: 13.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.2548, allocations: 167.5 kB / 437.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.2548, allocations: 11.84 kB / 437.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.268e-05/0.2548, allocations: 12.36 kB / 437.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2548, allocations: 8 kB / 437.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2549, allocations: 0 / 437.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2549, allocations: 0 / 437.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.173e-05/0.2549, allocations: 173.6 kB / 437.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2549, allocations: 0 / 437.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.2549, allocations: 0 / 437.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.255, allocations: 0 / 437.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.255, allocations: 4 kB / 437.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.255, allocations: 0 / 437.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.255, allocations: 0 / 437.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2552, allocations: 282.5 kB / 438 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.2552, allocations: 88.94 kB / 438.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2552, allocations: 7.938 kB / 438.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.2553, allocations: 4 kB / 438.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.2553, allocations: 4 kB / 438.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2553, allocations: 7.938 kB / 438.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.2553, allocations: 91.27 kB / 438.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2554, allocations: 0 / 438.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.2556, allocations: 36.03 kB / 438.3 MB, free: 12.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.2557, allocations: 107.2 kB / 438.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.256, allocations: 291.3 kB / 438.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.256, allocations: 0 / 438.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2561, allocations: 227.3 kB / 438.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.2564, allocations: 11.94 kB / 438.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.2567, allocations: 282.7 kB / 439.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.2569, allocations: 0.704 MB / 439.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.516e-05/0.2569, allocations: 4 kB / 439.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-06/0.2569, allocations: 7.438 kB / 439.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2569, allocations: 0 / 439.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of Templates: time 0.003355/0.2603, allocations: 1.304 MB / 441.2 MB, free: 9.871 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)