Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108.2 kB / 16.51 MB, free: 6.707 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.001069/0.001069, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1794/0.1794, allocations: 38.03 MB / 329.3 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 61.17 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 58.05 MB / 456.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003277/0.1055, allocations: 2.081 MB / 458.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.1063, allocations: 0.5376 MB / 458.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.1064, allocations: 0 / 458.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1065, allocations: 11.92 kB / 458.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.1067, allocations: 27.89 kB / 458.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.107, allocations: 59.84 kB / 458.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1071, allocations: 115.7 kB / 459 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.1072, allocations: 4 kB / 459 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.1072, allocations: 23.92 kB / 459 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.1073, allocations: 39.78 kB / 459 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1073, allocations: 0 / 459 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1075, allocations: 75.83 kB / 459.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1076, allocations: 43.83 kB / 459.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.1076, allocations: 43.56 kB / 459.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1078, allocations: 155.7 kB / 459.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1078, allocations: 0 / 459.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1078, allocations: 0 / 459.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1078, allocations: 0 / 459.3 MB, free: 5.293 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004296/0.1083, allocations: 488.5 kB / 459.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1083, allocations: 8.031 kB / 459.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1084, allocations: 12.75 kB / 459.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1085, allocations: 200.5 kB / 460 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1086, allocations: 3.938 kB / 460 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1086, allocations: 0 / 460 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1087, allocations: 130.5 kB / 460.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1088, allocations: 0 / 460.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1088, allocations: 4 kB / 460.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1088, allocations: 0 / 460.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.1089, allocations: 100.3 kB / 460.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1091, allocations: 202 kB / 460.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1092, allocations: 150.9 kB / 460.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1093, allocations: 145.2 kB / 460.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.1093, allocations: 3.938 kB / 460.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1094, allocations: 30.56 kB / 460.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.172e-06/0.1094, allocations: 4 kB / 460.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005472/0.1099, allocations: 471.6 kB / 461.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.11, allocations: 105.1 kB / 461.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1102, allocations: 152.2 kB / 461.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1102, allocations: 25.7 kB / 461.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1102, allocations: 100.8 kB / 461.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1103, allocations: 133.9 kB / 461.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1104, allocations: 33.7 kB / 461.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1105, allocations: 342.8 kB / 462.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.1106, allocations: 87.97 kB / 462.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.1107, allocations: 104.9 kB / 462.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.111, allocations: 364.4 kB / 462.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.111, allocations: 0 / 462.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000314/0.1113, allocations: 319.1 kB / 463 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.1114, allocations: 85.62 kB / 463.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1114, allocations: 0 / 463.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1115, allocations: 0 / 463.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1115, allocations: 4 kB / 463.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1115, allocations: 4.062 kB / 463.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1115, allocations: 19.75 kB / 463.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1116, allocations: 7.938 kB / 463.1 MB, free: 1.258 MB / 334.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 0.0001872/0.1117, allocations: 239.3 kB / 463.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1118, allocations: 19.81 kB / 463.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.1118, allocations: 13.91 kB / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1118, allocations: 0 / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1118, allocations: 0 / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1118, allocations: 0 / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.112, allocations: 237.2 kB / 463.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.112, allocations: 4 kB / 463.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.112, allocations: 0 / 463.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.112, allocations: 0 / 463.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.112, allocations: 4 kB / 463.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1121, allocations: 7.984 kB / 463.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1121, allocations: 0 / 463.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.1129, allocations: 0.8926 MB / 464.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.113, allocations: 108.7 kB / 464.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.113, allocations: 8 kB / 464.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.1131, allocations: 4 kB / 464.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1131, allocations: 8 kB / 464.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1131, allocations: 7.938 kB / 464.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.1132, allocations: 117.8 kB / 464.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1132, allocations: 0 / 464.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1135, allocations: 63.94 kB / 464.8 MB, free: 15.43 MB / 350.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.0001737/0.1137, allocations: 119.2 kB / 464.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.115, allocations: 1.581 MB / 466.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.115, allocations: 0 / 466.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.116, allocations: 1.366 MB / 467.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1163, allocations: 29.8 kB / 467.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.1171, allocations: 0.6783 MB / 468.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1174, allocations: 0.7597 MB / 469.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.926e-05/0.1175, allocations: 0 / 469.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.1175, allocations: 7.438 kB / 469.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1175, allocations: 0 / 469.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Templates: time 0.005118/0.1226, allocations: 2.382 MB / 471.7 MB, free: 8.449 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)