Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001633/0.001633, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002398/0.002399, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.461/1.461, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.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.001363/0.001364, allocations: 66.97 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.242, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03811/0.2802, allocations: 40.75 MB / 0.8225 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.3044, allocations: 15.05 MB / 0.8372 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004753/0.3092, allocations: 171.1 kB / 0.8373 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.3194, allocations: 4.13 MB / 0.8414 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00752/0.3269, allocations: 2.644 MB / 0.844 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.3342, allocations: 2.887 MB / 0.8468 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.3501, allocations: 16 MB / 0.8624 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01896/0.3691, allocations: 13.65 MB / 0.8757 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007384/0.3765, allocations: 4.102 MB / 0.8797 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008/0.3845, allocations: 5.483 MB / 0.8851 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.3868, allocations: 0.6094 MB / 0.8857 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/0.3919, allocations: 2.048 MB / 0.8877 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004152/0.396, allocations: 3.356 MB / 0.891 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005638/0.4017, allocations: 3.916 MB / 0.8948 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.4147, allocations: 14.03 MB / 0.9085 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4148, allocations: 0 / 0.9085 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4148, allocations: 0 / 0.9085 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003552/0.4152, allocations: 0 / 0.9085 GB, free: 12.72 MB / 0.7325 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.01888/0.434, allocations: 7.596 MB / 0.9159 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4341, allocations: 8.031 kB / 0.9159 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4442, allocations: 1.518 MB / 0.9174 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4266/0.8709, allocations: 4.203 MB / 0.9215 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/0.8714, allocations: 456.8 kB / 0.9219 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.8738, allocations: 0.5904 MB / 0.9225 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/0.8967, allocations: 10.68 MB / 0.933 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/0.897, allocations: 32.83 kB / 0.933 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/0.8992, allocations: 263.7 kB / 0.9332 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00322/0.9024, allocations: 0.7751 MB / 0.934 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.9286, allocations: 8.557 MB / 0.9424 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05917/0.9878, allocations: 46.88 MB / 0.9881 GB, free: 74.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.9932, allocations: 4.306 MB / 0.9923 GB, free: 72.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004418/0.9977, allocations: 3.7 MB / 0.996 GB, free: 70.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.9979, allocations: 38.78 kB / 0.996 GB, free: 70.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.998, allocations: 73.34 kB / 0.9961 GB, free: 70.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.39e-06/0.998, allocations: 0 / 0.9961 GB, free: 70.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4803/1.478, allocations: 122.7 MB / 1.116 GB, free: 10.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.478, allocations: 119.9 kB / 1.116 GB, free: 10.44 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/1.482, allocations: 2.685 MB / 1.119 GB, free: 7.758 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/1.484, allocations: 117.7 kB / 1.119 GB, free: 7.637 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.486, allocations: 2.677 MB / 1.121 GB, free: 4.938 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/1.488, allocations: 1.957 MB / 1.123 GB, free: 2.996 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/1.49, allocations: 0.9209 MB / 1.124 GB, free: 2.066 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.49, allocations: 305.1 kB / 1.124 GB, free: 1.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005842/1.496, allocations: 4.075 MB / 1.128 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007058/1.503, allocations: 5.019 MB / 1.133 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.518, allocations: 9.856 MB / 1.143 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-05/1.518, allocations: 8 kB / 1.143 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04039/1.559, allocations: 16.99 MB / 1.16 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/1.559, allocations: 12 kB / 1.16 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/1.559, allocations: 24 kB / 1.16 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03374/1.592, allocations: 9.08 MB / 1.168 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.595, allocations: 0.5265 MB / 1.169 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1072/1.703, allocations: 70.52 MB / 1.238 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.708, allocations: 279.8 kB / 1.238 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.709, allocations: 192 kB / 1.238 GB, free: 10.84 MB / 0.92 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.004839/1.714, allocations: 2.424 MB / 1.241 GB, free: 8.406 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.715, allocations: 474.4 kB / 1.241 GB, free: 7.938 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/1.753, allocations: 16.82 MB / 1.258 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-05/1.753, allocations: 56 kB / 1.258 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002312/1.754, allocations: 68 kB / 1.258 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001354/1.754, allocations: 31.83 kB / 1.258 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6433/2.397, allocations: 25.65 MB / 1.283 GB, free: 310.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.035e-05/2.397, allocations: 6.969 kB / 1.283 GB, free: 310.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/2.399, allocations: 320.5 kB / 1.283 GB, free: 310.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03212/2.431, allocations: 8.273 MB / 1.291 GB, free: 310.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001369/2.433, allocations: 108 kB / 1.291 GB, free: 310.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09447/2.527, allocations: 67.4 MB / 1.357 GB, free: 277.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/2.527, allocations: 11.34 kB / 1.357 GB, free: 277.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0414/2.569, allocations: 21.57 MB / 1.378 GB, free: 264 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003978/2.573, allocations: 1.354 MB / 1.379 GB, free: 262.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/2.574, allocations: 112 kB / 1.38 GB, free: 262.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/2.578, allocations: 287.6 kB / 1.38 GB, free: 262.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002451/2.581, allocations: 0.5182 MB / 1.38 GB, free: 261.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004177/2.581, allocations: 148 kB / 1.38 GB, free: 261.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002442/2.584, allocations: 1.776 MB / 1.382 GB, free: 259.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.31e-07/2.584, allocations: 0 / 1.382 GB, free: 259.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.009629/2.593, allocations: 2.465 MB / 1.385 GB, free: 257.3 MB / 0.9512 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.001015/2.594, allocations: 241.6 kB / 1.385 GB, free: 257.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02359/2.618, allocations: 14.48 MB / 1.399 GB, free: 242.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.618, allocations: 4 kB / 1.399 GB, free: 242.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01833/2.636, allocations: 9.354 MB / 1.408 GB, free: 232.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007707/2.644, allocations: 1.281 MB / 1.409 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/2.673, allocations: 18.75 MB / 1.428 GB, free: 212.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00742/2.68, allocations: 4.896 MB / 1.432 GB, free: 207.9 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00318/2.684, allocations: 0.741 MB / 1.433 GB, free: 207.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/2.684, allocations: 199.4 kB / 1.433 GB, free: 207 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/2.684, allocations: 0 / 1.433 GB, free: 207 MB / 0.9512 GB Notification: Performance of Templates: time 0.1988/2.883, allocations: 142.8 MB / 1.573 GB, free: 65.45 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)