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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, 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.003033/0.003033, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.647/1.647, allocations: 251.7 MB / 0.5088 GB, free: 3.328 MB / 414.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.001532/0.001532, allocations: 67.89 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6263, allocations: 104.7 MB / 0.7238 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04506/0.6714, allocations: 40.71 MB / 0.7636 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0277/0.6992, allocations: 15.05 MB / 0.7783 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.7074, allocations: 175.1 kB / 0.7784 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01657/0.7241, allocations: 4.138 MB / 0.7825 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.7392, allocations: 2.636 MB / 0.7851 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.756, allocations: 2.881 MB / 0.7879 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03311/0.7892, allocations: 15.94 MB / 0.8034 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04005/0.8293, allocations: 13.67 MB / 0.8168 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/0.8441, allocations: 4.075 MB / 0.8208 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.8587, allocations: 5.471 MB / 0.8261 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004851/0.8636, allocations: 0.6133 MB / 0.8267 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008386/0.872, allocations: 2.044 MB / 0.8287 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00789/0.8799, allocations: 3.344 MB / 0.832 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01301/0.893, allocations: 3.912 MB / 0.8358 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02492/0.9179, allocations: 14.01 MB / 0.8495 GB, free: 12.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.918, allocations: 7.984 kB / 0.8495 GB, free: 12.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.414e-06/0.918, allocations: 0 / 0.8495 GB, free: 12.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006014/0.9186, allocations: 0 / 0.8495 GB, free: 12.14 MB / 0.67 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.02986/0.9485, allocations: 7.589 MB / 0.8569 GB, free: 4.465 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.9486, allocations: 12.03 kB / 0.8569 GB, free: 4.453 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.9612, allocations: 1.518 MB / 0.8584 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.9735, allocations: 4.209 MB / 0.8625 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/0.9742, allocations: 456.5 kB / 0.8629 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/0.9776, allocations: 0.5939 MB / 0.8635 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/1.017, allocations: 10.69 MB / 0.874 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005298/1.017, allocations: 23.78 kB / 0.874 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003868/1.021, allocations: 263.9 kB / 0.8742 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005724/1.027, allocations: 0.7768 MB / 0.875 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/1.064, allocations: 8.561 MB / 0.8833 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6079/1.672, allocations: 46.83 MB / 0.9291 GB, free: 137.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/1.678, allocations: 4.301 MB / 0.9333 GB, free: 135.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004942/1.683, allocations: 3.706 MB / 0.9369 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/1.683, allocations: 38.28 kB / 0.9369 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/1.683, allocations: 74.58 kB / 0.937 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 4.839e-06/1.683, allocations: 3.562 kB / 0.937 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4709/2.154, allocations: 122.7 MB / 1.057 GB, free: 20.85 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/2.154, allocations: 115.9 kB / 1.057 GB, free: 20.72 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/2.159, allocations: 2.673 MB / 1.06 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001702/2.161, allocations: 129.7 kB / 1.06 GB, free: 17.92 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/2.163, allocations: 2.678 MB / 1.062 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00303/2.166, allocations: 1.946 MB / 1.064 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00429/2.17, allocations: 0.9286 MB / 1.065 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/2.17, allocations: 305.1 kB / 1.065 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005876/2.176, allocations: 4.075 MB / 1.069 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006502/2.183, allocations: 5.015 MB / 1.074 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/2.198, allocations: 9.855 MB / 1.084 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.773e-05/2.198, allocations: 4 kB / 1.084 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04485/2.243, allocations: 17 MB / 1.101 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/2.243, allocations: 16 kB / 1.101 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/2.243, allocations: 20 kB / 1.101 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03376/2.277, allocations: 9.086 MB / 1.109 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/2.28, allocations: 0.5226 MB / 1.11 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1157/2.396, allocations: 70.51 MB / 1.179 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006623/2.402, allocations: 279.8 kB / 1.179 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/2.404, allocations: 188 kB / 1.179 GB, free: 5.125 MB / 0.8262 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.007396/2.412, allocations: 2.429 MB / 1.182 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002717/2.414, allocations: 470.5 kB / 1.182 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04491/2.459, allocations: 16.82 MB / 1.199 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/2.459, allocations: 52 kB / 1.199 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002418/2.46, allocations: 72 kB / 1.199 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001413/2.46, allocations: 27.89 kB / 1.199 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06201/2.522, allocations: 25.66 MB / 1.224 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/2.522, allocations: 8 kB / 1.224 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/2.524, allocations: 328.3 kB / 1.224 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5643/3.088, allocations: 8.263 MB / 1.232 GB, free: 293.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001477/3.09, allocations: 106.8 kB / 1.232 GB, free: 293.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1085/3.198, allocations: 67.39 MB / 1.298 GB, free: 260.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/3.198, allocations: 11.94 kB / 1.298 GB, free: 260.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04166/3.24, allocations: 21.57 MB / 1.319 GB, free: 240.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004846/3.245, allocations: 1.354 MB / 1.32 GB, free: 238.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002655/3.247, allocations: 111.9 kB / 1.321 GB, free: 238.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004772/3.252, allocations: 286.6 kB / 1.321 GB, free: 238.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/3.255, allocations: 0.5226 MB / 1.321 GB, free: 237.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007481/3.256, allocations: 148 kB / 1.321 GB, free: 237.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002604/3.259, allocations: 1.772 MB / 1.323 GB, free: 236 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.21e-07/3.259, allocations: 0 / 1.323 GB, free: 236 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00943/3.268, allocations: 2.441 MB / 1.326 GB, free: 233.6 MB / 0.8731 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.001226/3.269, allocations: 243.8 kB / 1.326 GB, free: 233.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0236/3.293, allocations: 14.49 MB / 1.34 GB, free: 218.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/3.293, allocations: 4 kB / 1.34 GB, free: 218.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/3.31, allocations: 9.343 MB / 1.349 GB, free: 209.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007454/3.317, allocations: 1.284 MB / 1.35 GB, free: 208 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/3.344, allocations: 18.75 MB / 1.369 GB, free: 189.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006289/3.35, allocations: 4.892 MB / 1.373 GB, free: 184.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003058/3.353, allocations: 0.7448 MB / 1.374 GB, free: 183.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/3.354, allocations: 195.4 kB / 1.374 GB, free: 183.3 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/3.354, allocations: 4 kB / 1.374 GB, free: 183.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.1814/3.535, allocations: 142.7 MB / 1.514 GB, free: 41.89 MB / 0.8731 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)