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.001405/0.001405, allocations: 112.7 kB / 17.08 MB, free: 5.816 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.001532/0.001532, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9499/0.9499, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.8 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 76.18 MB / 0.6328 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04501/0.2044, allocations: 41.15 MB / 0.673 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.2332, allocations: 15.09 MB / 0.6877 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006556/0.2398, allocations: 187.1 kB / 0.6879 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.2522, allocations: 4.465 MB / 0.6922 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009231/0.2614, allocations: 2.79 MB / 0.695 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009215/0.2706, allocations: 3.159 MB / 0.698 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01806/0.2887, allocations: 11.41 MB / 0.7092 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.3102, allocations: 12.46 MB / 0.7213 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009278/0.3196, allocations: 4.915 MB / 0.7261 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009665/0.3293, allocations: 5.386 MB / 0.7314 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003535/0.3328, allocations: 0.9492 MB / 0.7323 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006732/0.3396, allocations: 2.036 MB / 0.7343 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007093/0.3467, allocations: 3.688 MB / 0.7379 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.3579, allocations: 4.307 MB / 0.7421 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.436/0.794, allocations: 14.27 MB / 0.7561 GB, free: 39.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7941, allocations: 0.5 kB / 0.7561 GB, free: 39.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7941, allocations: 0.5312 kB / 0.7561 GB, free: 39.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006463/0.7947, allocations: 1.734 kB / 0.7561 GB, free: 39.76 MB / 0.5762 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.03641/0.8311, allocations: 7.602 MB / 0.7635 GB, free: 37.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8312, allocations: 9.25 kB / 0.7635 GB, free: 37.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.8462, allocations: 1.52 MB / 0.765 GB, free: 36.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.8604, allocations: 4.445 MB / 0.7693 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006602/0.8611, allocations: 459.4 kB / 0.7698 GB, free: 35.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005641/0.8667, allocations: 0.5934 MB / 0.7703 GB, free: 35.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04167/0.9084, allocations: 10.68 MB / 0.7808 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005732/0.909, allocations: 31.5 kB / 0.7808 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00463/0.9137, allocations: 264.2 kB / 0.781 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.9172, allocations: 0.7746 MB / 0.7818 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.9421, allocations: 8.563 MB / 0.7902 GB, free: 32.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07221/1.014, allocations: 46.54 MB / 0.8356 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007422/1.022, allocations: 4.314 MB / 0.8398 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/1.029, allocations: 3.714 MB / 0.8435 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/1.029, allocations: 34.78 kB / 0.8435 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.627e-05/1.029, allocations: 73.34 kB / 0.8436 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 7.044e-06/1.029, allocations: 4 kB / 0.8436 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5476/1.577, allocations: 122.8 MB / 0.9635 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.577, allocations: 107.9 kB / 0.9636 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/1.582, allocations: 2.685 MB / 0.9662 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001943/1.584, allocations: 121.7 kB / 0.9663 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.587, allocations: 2.677 MB / 0.9689 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003414/1.59, allocations: 1.953 MB / 0.9708 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004545/1.595, allocations: 0.9248 MB / 0.9717 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.595, allocations: 305.1 kB / 0.972 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007136/1.602, allocations: 4.075 MB / 0.976 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008203/1.61, allocations: 5.02 MB / 0.9809 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/1.627, allocations: 9.849 MB / 0.9905 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-05/1.627, allocations: 8 kB / 0.9905 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04667/1.674, allocations: 16.99 MB / 1.007 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/1.674, allocations: 16 kB / 1.007 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/1.674, allocations: 22.62 kB / 1.007 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03386/1.708, allocations: 9.094 MB / 1.016 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/1.711, allocations: 0.521 MB / 1.017 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4892/2.2, allocations: 76.97 MB / 1.092 GB, free: 272 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/2.206, allocations: 276.6 kB / 1.092 GB, free: 271.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/2.207, allocations: 188.8 kB / 1.092 GB, free: 271.9 MB / 0.795 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.005425/2.213, allocations: 2.421 MB / 1.095 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/2.214, allocations: 474.6 kB / 1.095 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03672/2.251, allocations: 16.82 MB / 1.111 GB, free: 261.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/2.251, allocations: 56 kB / 1.111 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002184/2.251, allocations: 69.03 kB / 1.112 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.251, allocations: 29.08 kB / 1.112 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05262/2.304, allocations: 25.65 MB / 1.137 GB, free: 237.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/2.304, allocations: 4 kB / 1.137 GB, free: 237.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/2.306, allocations: 324.3 kB / 1.137 GB, free: 237 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02667/2.333, allocations: 8.273 MB / 1.145 GB, free: 228.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/2.334, allocations: 100 kB / 1.145 GB, free: 228.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08338/2.417, allocations: 73.84 MB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.417, allocations: 8 kB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04038/2.458, allocations: 21.57 MB / 1.238 GB, free: 131.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004045/2.462, allocations: 1.362 MB / 1.24 GB, free: 130.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/2.464, allocations: 108 kB / 1.24 GB, free: 130 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005/2.469, allocations: 291.6 kB / 1.24 GB, free: 129.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002622/2.472, allocations: 0.5182 MB / 1.24 GB, free: 129.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009932/2.473, allocations: 140 kB / 1.241 GB, free: 129.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002625/2.475, allocations: 1.776 MB / 1.242 GB, free: 127.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.4e-07/2.475, allocations: 0 / 1.242 GB, free: 127.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01015/2.486, allocations: 2.465 MB / 1.245 GB, free: 124.8 MB / 0.795 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.001304/2.487, allocations: 253 kB / 1.245 GB, free: 124.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02496/2.512, allocations: 14.53 MB / 1.259 GB, free: 109.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/2.512, allocations: 0 / 1.259 GB, free: 109.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01746/2.529, allocations: 9.358 MB / 1.268 GB, free: 100.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/2.539, allocations: 1.376 MB / 1.27 GB, free: 99.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/2.569, allocations: 16.49 MB / 1.286 GB, free: 82.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008283/2.577, allocations: 4.986 MB / 1.291 GB, free: 77.47 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/2.579, allocations: 215.4 kB / 1.291 GB, free: 77.26 MB / 0.795 GB Notification: Performance of SimCode: time 1.122e-06/2.579, allocations: 4 kB / 1.291 GB, free: 77.26 MB / 0.795 GB Notification: Performance of Templates: time 1.09/3.668, allocations: 475 MB / 1.755 GB, free: 203.9 MB / 0.795 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)