Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 176.8 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 90.36 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 9.656 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 106.4 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02974/0.2905, allocations: 37.43 MB / 0.9374 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.312, allocations: 14.39 MB / 0.9515 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0052/0.3172, allocations: 163 kB / 0.9516 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.321, allocations: 0.841 MB / 0.9524 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008026/0.329, allocations: 2.328 MB / 0.9547 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006754/0.3358, allocations: 1.902 MB / 0.9566 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01569/0.3515, allocations: 12.65 MB / 0.9689 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02544/0.377, allocations: 13.97 MB / 0.9826 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.3855, allocations: 3.549 MB / 0.986 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009813/0.3954, allocations: 4.645 MB / 0.9906 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003437/0.3989, allocations: 396 kB / 0.991 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006232/0.4051, allocations: 0.8898 MB / 0.9918 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.005928/0.4111, allocations: 2.958 MB / 0.9947 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003855/0.415, allocations: 1.381 MB / 0.9961 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/0.4325, allocations: 11.75 MB / 1.008 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.4326, allocations: 0 / 1.008 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4326, allocations: 0 / 1.008 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006231/0.4333, allocations: 0 / 1.008 GB, free: 2.219 MB / 0.6511 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.02109/0.4544, allocations: 6.228 MB / 1.014 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4544, allocations: 16.03 kB / 1.014 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.4661, allocations: 1.517 MB / 1.015 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4775, allocations: 4.101 MB / 1.019 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004622/0.478, allocations: 456.1 kB / 1.02 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/0.4806, allocations: 0.5935 MB / 1.02 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/0.5093, allocations: 10.64 MB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002327/0.5096, allocations: 23.78 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.5107, allocations: 267.9 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.5135, allocations: 0.7807 MB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.5342, allocations: 8.51 MB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6443/1.179, allocations: 46.94 MB / 1.086 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008392/1.187, allocations: 4.301 MB / 1.09 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007349/1.194, allocations: 3.674 MB / 1.093 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/1.195, allocations: 39.41 kB / 1.094 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/1.195, allocations: 81.14 kB / 1.094 GB, free: 103.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.4e-06/1.195, allocations: 0 / 1.094 GB, free: 103.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.6983/1.893, allocations: 127.9 MB / 1.218 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.893, allocations: 111.9 kB / 1.219 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006974/1.9, allocations: 2.65 MB / 1.221 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001675/1.902, allocations: 121.7 kB / 1.221 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.905, allocations: 2.682 MB / 1.224 GB, free: 452 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004383/1.91, allocations: 1.945 MB / 1.226 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/1.911, allocations: 116 kB / 1.226 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00056/1.911, allocations: 0.5217 MB / 1.226 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01162/1.923, allocations: 4.064 MB / 1.23 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008094/1.931, allocations: 4.988 MB / 1.235 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.939, allocations: 4.827 MB / 1.24 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.939, allocations: 4 kB / 1.24 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04059/1.98, allocations: 16.92 MB / 1.257 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.98, allocations: 12.94 kB / 1.257 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/1.98, allocations: 24 kB / 1.257 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03195/2.012, allocations: 9.06 MB / 1.265 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/2.015, allocations: 0.5265 MB / 1.266 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1081/2.123, allocations: 70.61 MB / 1.335 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/2.128, allocations: 275.8 kB / 1.335 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/2.129, allocations: 188 kB / 1.335 GB, free: 12.38 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006393/2.136, allocations: 2.431 MB / 1.338 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/2.137, allocations: 474.5 kB / 1.338 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04187/2.179, allocations: 16.75 MB / 1.355 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/2.179, allocations: 56 kB / 1.355 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002305/2.18, allocations: 76 kB / 1.355 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001528/2.18, allocations: 27.89 kB / 1.355 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5109/2.691, allocations: 25.62 MB / 1.38 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.209e-05/2.691, allocations: 8.812 kB / 1.38 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/2.693, allocations: 318.3 kB / 1.38 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03093/2.724, allocations: 8.258 MB / 1.388 GB, free: 276.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001275/2.725, allocations: 106 kB / 1.388 GB, free: 276.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09119/2.816, allocations: 67.45 MB / 1.454 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/2.816, allocations: 11.47 kB / 1.454 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03855/2.855, allocations: 21.48 MB / 1.475 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003522/2.858, allocations: 1.368 MB / 1.476 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/2.86, allocations: 104 kB / 1.476 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/2.863, allocations: 287.7 kB / 1.477 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00187/2.865, allocations: 0.526 MB / 1.477 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/2.866, allocations: 140 kB / 1.477 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002283/2.868, allocations: 1.752 MB / 1.479 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/2.868, allocations: 0 / 1.479 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008355/2.876, allocations: 2.441 MB / 1.481 GB, free: 223 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008432/2.877, allocations: 248.5 kB / 1.482 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02259/2.9, allocations: 14.48 MB / 1.496 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/2.9, allocations: 4 kB / 1.496 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01683/2.917, allocations: 9.358 MB / 1.505 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00695/2.924, allocations: 1.291 MB / 1.506 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/2.95, allocations: 19.03 MB / 1.525 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006292/2.956, allocations: 4.987 MB / 1.53 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/2.958, allocations: 211.4 kB / 1.53 GB, free: 173 MB / 0.8698 GB Notification: Performance of SimCode: time 2.896e-06/2.958, allocations: 0 / 1.53 GB, free: 173 MB / 0.8698 GB Notification: Performance of Templates: time 0.8164/3.774, allocations: 473.7 MB / 1.993 GB, free: 28.41 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)