Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001725, allocations: 103.1 kB / 15.98 MB, free: 6.336 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.001934/0.001934, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.788/0.788, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.4945 GB, free: 3.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3993, allocations: 78.7 MB / 0.5713 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03692/0.4363, allocations: 40.76 MB / 0.6111 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.4626, allocations: 14.97 MB / 0.6258 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005788/0.4684, allocations: 171 kB / 0.6259 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4804, allocations: 4.179 MB / 0.63 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008687/0.4892, allocations: 2.587 MB / 0.6325 GB, free: 8.051 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008409/0.4976, allocations: 2.885 MB / 0.6354 GB, free: 5.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01392/0.5115, allocations: 11.43 MB / 0.6465 GB, free: 9.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02092/0.5325, allocations: 14.87 MB / 0.661 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008571/0.5411, allocations: 4.894 MB / 0.6658 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.5512, allocations: 5.636 MB / 0.6713 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003823/0.5551, allocations: 0.9531 MB / 0.6723 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006661/0.5618, allocations: 2.044 MB / 0.6743 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.005609/0.5674, allocations: 3.695 MB / 0.6779 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.008049/0.5755, allocations: 4.295 MB / 0.6821 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.5934, allocations: 14.29 MB / 0.696 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5935, allocations: 0 / 0.696 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.778e-06/0.5935, allocations: 0 / 0.696 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004615/0.5939, allocations: 3.938 kB / 0.696 GB, free: 6.793 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02343/0.6174, allocations: 7.589 MB / 0.7034 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.6174, allocations: 12.02 kB / 0.7034 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.6294, allocations: 1.522 MB / 0.7049 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.6397, allocations: 4.201 MB / 0.709 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/0.6402, allocations: 456.4 kB / 0.7095 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.6425, allocations: 0.5978 MB / 0.71 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.6667, allocations: 10.69 MB / 0.7205 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.667, allocations: 27.72 kB / 0.7205 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/0.6683, allocations: 267.9 kB / 0.7208 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002715/0.6711, allocations: 0.769 MB / 0.7215 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.6888, allocations: 8.557 MB / 0.7299 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3647/1.054, allocations: 46.86 MB / 0.7756 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/1.059, allocations: 4.312 MB / 0.7798 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00491/1.064, allocations: 3.696 MB / 0.7834 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/1.064, allocations: 38.81 kB / 0.7835 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/1.064, allocations: 76.36 kB / 0.7836 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 5.911e-06/1.064, allocations: 0 / 0.7836 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4738/1.538, allocations: 122.8 MB / 0.9035 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.538, allocations: 115.9 kB / 0.9036 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004363/1.542, allocations: 2.685 MB / 0.9062 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/1.544, allocations: 121.7 kB / 0.9063 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.546, allocations: 2.686 MB / 0.909 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003121/1.549, allocations: 1.953 MB / 0.9109 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003582/1.552, allocations: 0.9248 MB / 0.9118 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.552, allocations: 301.1 kB / 0.9121 GB, free: 12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00709/1.56, allocations: 4.079 MB / 0.916 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008113/1.568, allocations: 5.015 MB / 0.9209 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/1.584, allocations: 9.854 MB / 0.9306 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/1.584, allocations: 8 kB / 0.9306 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04188/1.625, allocations: 16.99 MB / 0.9472 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/1.626, allocations: 12 kB / 0.9472 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.912e-05/1.626, allocations: 28 kB / 0.9472 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03266/1.658, allocations: 9.149 MB / 0.9561 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/1.661, allocations: 0.5265 MB / 0.9566 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.432/2.093, allocations: 77.01 MB / 1.032 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/2.098, allocations: 283 kB / 1.032 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008218/2.099, allocations: 188.3 kB / 1.032 GB, free: 208 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004219/2.103, allocations: 2.427 MB / 1.035 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/2.104, allocations: 477.5 kB / 1.035 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03275/2.137, allocations: 16.82 MB / 1.052 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/2.137, allocations: 53.41 kB / 1.052 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002321/2.137, allocations: 72.59 kB / 1.052 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/2.138, allocations: 33.7 kB / 1.052 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06358/2.201, allocations: 25.65 MB / 1.077 GB, free: 179.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001385/2.201, allocations: 12.19 kB / 1.077 GB, free: 179.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/2.204, allocations: 319.5 kB / 1.077 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03949/2.244, allocations: 8.335 MB / 1.085 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/2.245, allocations: 108 kB / 1.085 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0845/2.33, allocations: 73.9 MB / 1.157 GB, free: 95.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.33, allocations: 11.94 kB / 1.157 GB, free: 95.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03682/2.367, allocations: 21.57 MB / 1.179 GB, free: 73.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/2.37, allocations: 1.354 MB / 1.18 GB, free: 72.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/2.371, allocations: 112 kB / 1.18 GB, free: 72.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/2.375, allocations: 283.6 kB / 1.18 GB, free: 72.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002213/2.377, allocations: 0.5221 MB / 1.181 GB, free: 71.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005028/2.377, allocations: 148 kB / 1.181 GB, free: 71.49 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002282/2.38, allocations: 1.78 MB / 1.183 GB, free: 69.72 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/2.38, allocations: 0 / 1.183 GB, free: 69.72 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009654/2.389, allocations: 2.465 MB / 1.185 GB, free: 67.26 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/2.39, allocations: 237.6 kB / 1.185 GB, free: 67.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03111/2.421, allocations: 18.66 MB / 1.204 GB, free: 48.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/2.421, allocations: 4 kB / 1.204 GB, free: 48.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01561/2.437, allocations: 9.358 MB / 1.213 GB, free: 38.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/2.443, allocations: 1.375 MB / 1.214 GB, free: 37.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/2.471, allocations: 18.74 MB / 1.232 GB, free: 18.58 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005953/2.477, allocations: 4.901 MB / 1.237 GB, free: 13.63 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002803/2.48, allocations: 0.7371 MB / 1.238 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/2.481, allocations: 199.4 kB / 1.238 GB, free: 12.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/2.481, allocations: 0 / 1.238 GB, free: 12.7 MB / 0.67 GB Notification: Performance of Templates: time 0.4915/2.972, allocations: 148.4 MB / 1.383 GB, free: 104.5 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)