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 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_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.001173/0.001173, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001159/0.001159, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1784/0.1784, allocations: 38.03 MB / 329.3 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.2 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 58.06 MB / 456.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003635/0.1251, allocations: 2.092 MB / 458.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.1259, allocations: 0.5338 MB / 458.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.126, allocations: 4 kB / 458.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1261, allocations: 3.984 kB / 458.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1263, allocations: 27.84 kB / 458.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1266, allocations: 55.86 kB / 458.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1267, allocations: 119.6 kB / 459 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.1268, allocations: 7.984 kB / 459 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.1269, allocations: 23.86 kB / 459 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.127, allocations: 35.89 kB / 459 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.127, allocations: 0 / 459 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1271, allocations: 79.83 kB / 459.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.1272, allocations: 15.92 kB / 459.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1272, allocations: 19.81 kB / 459.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1274, allocations: 111.9 kB / 459.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1274, allocations: 3.984 kB / 459.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1274, allocations: 0 / 459.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1275, allocations: 0 / 459.3 MB, free: 5.355 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000443/0.1279, allocations: 401 kB / 459.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.128, allocations: 8.031 kB / 459.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.128, allocations: 8.844 kB / 459.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1282, allocations: 184.2 kB / 459.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.1282, allocations: 384 / 459.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1282, allocations: 8.125 kB / 459.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1284, allocations: 61.62 kB / 459.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1284, allocations: 3.938 kB / 459.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1284, allocations: 0 / 459.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1284, allocations: 0 / 459.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.1284, allocations: 35.98 kB / 460 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1286, allocations: 161.7 kB / 460.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.1287, allocations: 50.58 kB / 460.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1288, allocations: 48.81 kB / 460.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.1288, allocations: 0 / 460.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1288, allocations: 34.55 kB / 460.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.1288, allocations: 0 / 460.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000301/0.1291, allocations: 187.2 kB / 460.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1292, allocations: 89.31 kB / 460.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1293, allocations: 125.7 kB / 460.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1293, allocations: 25.7 kB / 460.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.1293, allocations: 88.12 kB / 460.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1294, allocations: 39.36 kB / 460.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1294, allocations: 21.72 kB / 460.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1296, allocations: 322.8 kB / 461.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.1296, allocations: 32.02 kB / 461.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.1296, allocations: 27.98 kB / 461.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1298, allocations: 156.2 kB / 461.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1298, allocations: 0 / 461.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001583/0.13, allocations: 152.1 kB / 461.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.13, allocations: 45.62 kB / 461.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.13, allocations: 7.938 kB / 461.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1301, allocations: 0 / 461.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1301, allocations: 0 / 461.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1301, allocations: 0 / 461.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.1301, allocations: 12.05 kB / 461.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1301, allocations: 0 / 461.6 MB, free: 2.801 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.0001345/0.1303, allocations: 167.5 kB / 461.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1303, allocations: 15.84 kB / 461.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.1303, allocations: 8.375 kB / 461.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1303, allocations: 0 / 461.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1303, allocations: 0 / 461.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1303, allocations: 4 kB / 461.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1305, allocations: 177.4 kB / 461.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1305, allocations: 4 kB / 461.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.1305, allocations: 4 kB / 461.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1305, allocations: 7.938 kB / 461.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1305, allocations: 0 / 461.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1305, allocations: 4 kB / 461.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1305, allocations: 0 / 461.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1308, allocations: 282.5 kB / 462.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1309, allocations: 77.11 kB / 462.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1309, allocations: 8.031 kB / 462.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.131, allocations: 3.938 kB / 462.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.131, allocations: 8 kB / 462.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.131, allocations: 4 kB / 462.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.1311, allocations: 91.27 kB / 462.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1311, allocations: 0 / 462.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1313, allocations: 36 kB / 462.4 MB, free: 1.805 MB / 334.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.0001996/0.1315, allocations: 111.2 kB / 462.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1318, allocations: 291.2 kB / 462.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1319, allocations: 0 / 462.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1321, allocations: 227.3 kB / 463.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1323, allocations: 11.94 kB / 463.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.1328, allocations: 300.7 kB / 463.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1331, allocations: 0.7004 MB / 464.1 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.1331, allocations: 0 / 464.1 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.1331, allocations: 11.44 kB / 464.1 MB, free: 88 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1331, allocations: 0 / 464.1 MB, free: 88 kB / 334.1 MB Notification: Performance of Templates: time 0.003446/0.1366, allocations: 1.207 MB / 465.3 MB, free: 14.89 MB / 350.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)