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.001211/0.001211, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001282/0.001282, allocations: 188.5 kB / 18.67 MB, free: 4.438 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.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2713/0.2714, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.00156/0.00156, allocations: 71.89 kB / 432.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09914, allocations: 55.24 MB / 487.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003667/0.1028, allocations: 2.056 MB / 489.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.1038, allocations: 0.5581 MB / 490.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.1039, allocations: 0 / 490.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.1041, allocations: 11.92 kB / 490.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.1042, allocations: 31.83 kB / 490.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1046, allocations: 67.84 kB / 490.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1048, allocations: 63.7 kB / 490.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.1048, allocations: 4 kB / 490.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.1049, allocations: 27.84 kB / 490.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.105, allocations: 35.89 kB / 490.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.105, allocations: 0 / 490.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1052, allocations: 75.83 kB / 490.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1053, allocations: 15.94 kB / 490.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.1053, allocations: 11.88 kB / 490.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1055, allocations: 107.7 kB / 490.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1055, allocations: 0 / 490.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.162e-05/0.1056, allocations: 0 / 490.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1056, allocations: 3.938 kB / 490.8 MB, free: 5.375 MB / 366.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.0004262/0.106, allocations: 381 kB / 491.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1061, allocations: 15.89 kB / 491.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1061, allocations: 0.9375 kB / 491.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1063, allocations: 184.2 kB / 491.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1063, allocations: 384 / 491.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1063, allocations: 8.125 kB / 491.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1064, allocations: 53.69 kB / 491.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1065, allocations: 0 / 491.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1065, allocations: 0 / 491.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1065, allocations: 0 / 491.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.1065, allocations: 23.92 kB / 491.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1067, allocations: 153.7 kB / 491.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.1068, allocations: 50.56 kB / 491.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.1068, allocations: 44.8 kB / 491.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1068, allocations: 0 / 491.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1069, allocations: 30.56 kB / 491.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1069, allocations: 0 / 491.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000261/0.1072, allocations: 147.3 kB / 491.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1072, allocations: 85.11 kB / 492 MB, free: 4.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.1073, allocations: 117.8 kB / 492.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1073, allocations: 25.7 kB / 492.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1074, allocations: 96.16 kB / 492.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.1074, allocations: 27.5 kB / 492.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1076, allocations: 21.7 kB / 492.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1077, allocations: 318.8 kB / 492.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.1078, allocations: 15.98 kB / 492.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.1078, allocations: 23.98 kB / 492.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1079, allocations: 120.2 kB / 492.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1079, allocations: 3.938 kB / 492.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000133/0.1081, allocations: 123.3 kB / 492.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.1081, allocations: 41.69 kB / 492.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1081, allocations: 320 / 492.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1081, allocations: 0 / 492.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.1081, allocations: 4 kB / 492.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1082, allocations: 7.984 kB / 492.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.1082, allocations: 3.906 kB / 492.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1082, allocations: 7.984 kB / 492.9 MB, free: 3.016 MB / 366.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.000159/0.1084, allocations: 155.5 kB / 493.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.1084, allocations: 8.031 kB / 493.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.1084, allocations: 12.36 kB / 493.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1084, allocations: 0 / 493.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1084, allocations: 0 / 493.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1084, allocations: 0 / 493.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1086, allocations: 173.4 kB / 493.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1086, allocations: 0 / 493.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1086, allocations: 0 / 493.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1086, allocations: 0 / 493.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1086, allocations: 4 kB / 493.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1086, allocations: 0 / 493.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1086, allocations: 7.938 kB / 493.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1089, allocations: 214.7 kB / 493.5 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1089, allocations: 89 kB / 493.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1089, allocations: 0 / 493.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.109, allocations: 4.375 kB / 493.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.109, allocations: 0 / 493.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.109, allocations: 4 kB / 493.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.1091, allocations: 99.23 kB / 493.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.1091, allocations: 0 / 493.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1093, allocations: 31.94 kB / 493.7 MB, free: 2.121 MB / 366.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.0002017/0.1095, allocations: 111.2 kB / 493.8 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1098, allocations: 199.3 kB / 494 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1098, allocations: 0 / 494 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1099, allocations: 147.4 kB / 494.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1102, allocations: 7.938 kB / 494.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1106, allocations: 252.1 kB / 494.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1109, allocations: 0.6924 MB / 495.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.1109, allocations: 7.438 kB / 495.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1109, allocations: 0 / 495.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of Templates: time 0.002918/0.1139, allocations: 1.109 MB / 496.2 MB, free: 15.51 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (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)