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.001263/0.001263, allocations: 106.4 kB / 17.74 MB, free: 5.352 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.001301/0.001301, allocations: 183.1 kB / 18.68 MB, free: 4.426 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1763/0.1763, allocations: 38.04 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2918, allocations: 58.06 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002904/0.2947, allocations: 2.049 MB / 0.5068 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.2954, allocations: 0.5181 MB / 0.5073 GB, free: 6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.2955, allocations: 1.125 kB / 0.5073 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.2956, allocations: 13.61 kB / 0.5073 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.2957, allocations: 29.64 kB / 0.5073 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.296, allocations: 67.94 kB / 0.5074 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2962, allocations: 58.28 kB / 0.5074 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2962, allocations: 5.141 kB / 0.5074 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.2963, allocations: 27.55 kB / 0.5075 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.2964, allocations: 31.94 kB / 0.5075 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2964, allocations: 1.125 kB / 0.5075 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2965, allocations: 75.27 kB / 0.5076 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.2966, allocations: 50.02 kB / 0.5076 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.2966, allocations: 42.25 kB / 0.5077 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2969, allocations: 151.1 kB / 0.5078 GB, free: 5.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2969, allocations: 1.859 kB / 0.5078 GB, free: 5.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2969, allocations: 0 / 0.5078 GB, free: 5.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.2969, allocations: 0 / 0.5078 GB, free: 5.781 MB / 382.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.0003448/0.2973, allocations: 489.2 kB / 0.5083 GB, free: 5.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2973, allocations: 12.69 kB / 0.5083 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.2973, allocations: 17.42 kB / 0.5083 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2975, allocations: 200.4 kB / 0.5085 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2975, allocations: 3.938 kB / 0.5085 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.2975, allocations: 1.25 kB / 0.5085 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2977, allocations: 129.6 kB / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2977, allocations: 1.562 kB / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2977, allocations: 0 / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2977, allocations: 0 / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.2978, allocations: 97.92 kB / 0.5087 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.2979, allocations: 198 kB / 0.5089 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2981, allocations: 160 kB / 0.5091 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2982, allocations: 142.6 kB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.2982, allocations: 0.5625 kB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2982, allocations: 31.69 kB / 0.5092 GB, free: 4.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.102e-06/0.2982, allocations: 0 / 0.5092 GB, free: 4.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005149/0.2987, allocations: 479.5 kB / 0.5097 GB, free: 4.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2988, allocations: 108.8 kB / 0.5098 GB, free: 4.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2989, allocations: 149.7 kB / 0.5099 GB, free: 4.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.2989, allocations: 25.7 kB / 0.51 GB, free: 4.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.2989, allocations: 106.7 kB / 0.5101 GB, free: 4.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.299, allocations: 130.5 kB / 0.5102 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.2991, allocations: 31.61 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.2991, allocations: 341.3 kB / 0.5105 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.2992, allocations: 88.83 kB / 0.5106 GB, free: 3.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.2993, allocations: 95.5 kB / 0.5107 GB, free: 3.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.2996, allocations: 367.4 kB / 0.5111 GB, free: 3.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2996, allocations: 3.938 kB / 0.5111 GB, free: 3.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003004/0.2999, allocations: 324.3 kB / 0.5114 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.3, allocations: 85.73 kB / 0.5115 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3, allocations: 1.344 kB / 0.5115 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3, allocations: 0.75 kB / 0.5115 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3, allocations: 0 / 0.5115 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3, allocations: 1.062 kB / 0.5115 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.3001, allocations: 27.41 kB / 0.5115 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.3001, allocations: 7.219 kB / 0.5115 GB, free: 3.281 MB / 382.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.0001778/0.3003, allocations: 239.4 kB / 0.5117 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3004, allocations: 21.56 kB / 0.5117 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.3004, allocations: 10.72 kB / 0.5118 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3004, allocations: 1.219 kB / 0.5118 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3004, allocations: 0.6094 kB / 0.5118 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3004, allocations: 98.7 kB / 0.5118 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3005, allocations: 6.5 kB / 0.5119 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.3005, allocations: 10.88 kB / 0.5119 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.3005, allocations: 7.203 kB / 0.5119 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001213/0.3018, allocations: 1.313 MB / 0.5132 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.3028, allocations: 1.038 MB / 0.5142 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007138/0.3035, allocations: 0.9812 MB / 0.5151 GB, free: 1.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.3036, allocations: 119.5 kB / 0.5152 GB, free: 1.438 MB / 382.1 MB Notification: Performance of Backend: time 3.11e-07/0.3036, allocations: 0 / 0.5152 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3049, allocations: 1.476 MB / 0.5167 GB, free: 0.582 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009578/0.3059, allocations: 1.165 MB / 0.5178 GB, free: 15.82 MB / 398.1 MB Notification: Performance of Templates: time 0.006099/0.312, allocations: 2.723 MB / 0.5205 GB, free: 15.59 MB / 398.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)