Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 112.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.00201/0.00201, 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.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 38.02 MB / 329.3 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 61.66 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 58.06 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003451/0.1122, allocations: 2.08 MB / 458.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.113, allocations: 0.5376 MB / 458.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.1131, allocations: 4 kB / 458.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1132, allocations: 7.938 kB / 458.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.1133, allocations: 27.89 kB / 458.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1136, allocations: 59.86 kB / 458.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1137, allocations: 111.7 kB / 459 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.1138, allocations: 4 kB / 459 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.1138, allocations: 27.91 kB / 459 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.1139, allocations: 35.78 kB / 459 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1139, allocations: 0 / 459 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1141, allocations: 79.83 kB / 459.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1141, allocations: 23.92 kB / 459.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1142, allocations: 27.75 kB / 459.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1144, allocations: 135.8 kB / 459.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1144, allocations: 4 kB / 459.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1144, allocations: 0 / 459.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1144, allocations: 0 / 459.3 MB, free: 5.34 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004174/0.1148, allocations: 424.9 kB / 459.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1149, allocations: 8.031 kB / 459.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1149, allocations: 12.75 kB / 459.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1151, allocations: 196.1 kB / 459.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1151, allocations: 384 / 459.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1151, allocations: 12.11 kB / 459.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1153, allocations: 89.61 kB / 460 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1153, allocations: 0 / 460 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1153, allocations: 0 / 460 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1153, allocations: 4 kB / 460 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.1154, allocations: 59.91 kB / 460.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1156, allocations: 181.5 kB / 460.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1157, allocations: 98.56 kB / 460.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.1158, allocations: 95.64 kB / 460.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1158, allocations: 0 / 460.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1158, allocations: 30.56 kB / 460.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 9.01e-07/0.1158, allocations: 0 / 460.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004132/0.1163, allocations: 307.3 kB / 460.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1163, allocations: 101.1 kB / 460.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1164, allocations: 136.2 kB / 461 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1165, allocations: 25.7 kB / 461 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1165, allocations: 92.58 kB / 461.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.1166, allocations: 78.75 kB / 461.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1167, allocations: 25.7 kB / 461.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1168, allocations: 326.8 kB / 461.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.1169, allocations: 55.98 kB / 461.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1169, allocations: 59.97 kB / 461.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1171, allocations: 250.5 kB / 461.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1172, allocations: 0 / 461.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002277/0.1174, allocations: 229.8 kB / 462.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.1175, allocations: 65.66 kB / 462.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1175, allocations: 0 / 462.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1175, allocations: 0 / 462.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1175, allocations: 0 / 462.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1175, allocations: 3.984 kB / 462.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.1175, allocations: 11.84 kB / 462.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1176, allocations: 8 kB / 462.2 MB, free: 2.156 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.0001564/0.1177, allocations: 195.5 kB / 462.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1178, allocations: 15.81 kB / 462.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.1178, allocations: 17.17 kB / 462.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1178, allocations: 0 / 462.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1178, allocations: 0 / 462.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1178, allocations: 3.938 kB / 462.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.118, allocations: 197.4 kB / 462.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.118, allocations: 0 / 462.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.118, allocations: 0 / 462.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.118, allocations: 7.984 kB / 462.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.118, allocations: 8 kB / 462.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.118, allocations: 0 / 462.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.118, allocations: 0 / 462.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1186, allocations: 0.506 MB / 463.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.1187, allocations: 92.94 kB / 463.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1187, allocations: 4 kB / 463.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.1187, allocations: 4 kB / 463.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1188, allocations: 8.031 kB / 463.3 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1188, allocations: 4 kB / 463.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.886e-05/0.1189, allocations: 103.3 kB / 463.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1189, allocations: 0 / 463.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1191, allocations: 51.98 kB / 463.4 MB, free: 0.8438 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.0001748/0.1193, allocations: 111.2 kB / 463.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.12, allocations: 0.6984 MB / 464.2 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.12, allocations: 0 / 464.2 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.1205, allocations: 0.5772 MB / 464.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1207, allocations: 29.47 kB / 464.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.1213, allocations: 477.7 kB / 465.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1216, allocations: 0.7163 MB / 466 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.1216, allocations: 4 kB / 466 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.1216, allocations: 7.438 kB / 466 MB, free: 14.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1216, allocations: 0 / 466 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Templates: time 0.004376/0.126, allocations: 1.737 MB / 467.8 MB, free: 12.43 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)