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.001083/0.001083, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001144/0.001144, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.431/1.431, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1849/0.1849, allocations: 37.99 MB / 309.9 MB, free: 5.941 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.001421/0.001421, allocations: 67.89 kB / 432.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09706, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003479/0.1006, allocations: 2.044 MB / 489.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.1015, allocations: 0.5659 MB / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1016, allocations: 0 / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1017, allocations: 7.922 kB / 490.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1019, allocations: 31.84 kB / 490.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1022, allocations: 63.84 kB / 490.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1024, allocations: 71.69 kB / 490.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1024, allocations: 0 / 490.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.1025, allocations: 27.91 kB / 490.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.1026, allocations: 31.84 kB / 490.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1026, allocations: 0 / 490.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.1028, allocations: 75.83 kB / 490.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.1028, allocations: 23.92 kB / 490.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.1029, allocations: 23.75 kB / 490.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1031, allocations: 111.7 kB / 490.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1031, allocations: 0 / 490.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1031, allocations: 0 / 490.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1031, allocations: 0 / 490.9 MB, free: 5.234 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003986/0.1035, allocations: 401 kB / 491.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1036, allocations: 11.89 kB / 491.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.1036, allocations: 8.844 kB / 491.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1038, allocations: 172.3 kB / 491.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1038, allocations: 8.312 kB / 491.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1038, allocations: 8.125 kB / 491.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.104, allocations: 61.62 kB / 491.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.104, allocations: 0 / 491.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.104, allocations: 3.938 kB / 491.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.104, allocations: 0 / 491.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.1041, allocations: 31.98 kB / 491.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.1042, allocations: 169.6 kB / 491.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.1043, allocations: 62.5 kB / 491.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.1044, allocations: 48.81 kB / 491.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.1044, allocations: 0 / 491.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1044, allocations: 30.56 kB / 491.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1044, allocations: 0 / 491.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002635/0.1047, allocations: 179.2 kB / 492 MB, free: 3.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1047, allocations: 85.11 kB / 492.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.1048, allocations: 121.8 kB / 492.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1048, allocations: 29.95 kB / 492.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.1049, allocations: 88.14 kB / 492.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1049, allocations: 47.28 kB / 492.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.105, allocations: 17.72 kB / 492.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1051, allocations: 322.8 kB / 492.7 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.1051, allocations: 31.92 kB / 492.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.1052, allocations: 27.98 kB / 492.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1053, allocations: 156.2 kB / 492.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1053, allocations: 4.031 kB / 492.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000159/0.1055, allocations: 148.1 kB / 493.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.1056, allocations: 45.69 kB / 493.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1056, allocations: 0 / 493.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1056, allocations: 7.969 kB / 493.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.1056, allocations: 4 kB / 493.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1056, allocations: 0 / 493.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.1056, allocations: 3.938 kB / 493.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1057, allocations: 7.938 kB / 493.2 MB, free: 2.672 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.0001118/0.1058, allocations: 175.4 kB / 493.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1058, allocations: 15.84 kB / 493.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1058, allocations: 4.375 kB / 493.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1058, allocations: 0 / 493.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1058, allocations: 0 / 493.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.1059, allocations: 89 kB / 493.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1059, allocations: 0 / 493.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.1059, allocations: 8 kB / 493.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.106, allocations: 0 / 493.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003438/0.1063, allocations: 413.9 kB / 493.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003401/0.1067, allocations: 436.2 kB / 494.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001317/0.1068, allocations: 128 kB / 494.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.1069, allocations: 95.27 kB / 494.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.1069, allocations: 0 / 494.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.1074, allocations: 313.7 kB / 494.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006405/0.1081, allocations: 0.7215 MB / 495.5 MB, free: 148 kB / 366.1 MB Notification: Performance of Templates: time 0.00427/0.1124, allocations: 1.319 MB / 496.8 MB, free: 14.82 MB / 382.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)