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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009205/0.0009207, allocations: 164.1 kB / 326.5 MB, free: 2.668 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.512/1.512, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006731/0.0006731, allocations: 84.06 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 10.88 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1784, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02433/0.2028, allocations: 32.54 MB / 0.9285 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.2202, allocations: 14.88 MB / 0.9431 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.2237, allocations: 139.2 kB / 0.9432 GB, free: 20.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.2311, allocations: 3.361 MB / 0.9465 GB, free: 17.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007487/0.2386, allocations: 2.69 MB / 0.9491 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.2442, allocations: 2.126 MB / 0.9512 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.2552, allocations: 12.15 MB / 0.963 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/0.271, allocations: 10.29 MB / 0.9731 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006442/0.2775, allocations: 3.02 MB / 0.976 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006381/0.284, allocations: 3.495 MB / 0.9795 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.2855, allocations: 300 kB / 0.9797 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/0.2902, allocations: 1.564 MB / 0.9813 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.2941, allocations: 2.275 MB / 0.9835 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006463/0.3006, allocations: 2.759 MB / 0.9862 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3117, allocations: 9.195 MB / 0.9952 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3117, allocations: 0 / 0.9952 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3118, allocations: 0 / 0.9952 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004029/0.3122, allocations: 0 / 0.9952 GB, free: 14.98 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01182/0.324, allocations: 4.825 MB / 0.9999 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3241, allocations: 11.97 kB / 0.9999 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007572/0.3316, allocations: 1.149 MB / 1.001 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007989/0.3397, allocations: 3.325 MB / 1.004 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/0.3401, allocations: 374.4 kB / 1.005 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.3418, allocations: 0.4922 MB / 1.005 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.3612, allocations: 8.001 MB / 1.013 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.3615, allocations: 23.77 kB / 1.013 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.3628, allocations: 216 kB / 1.013 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/0.364, allocations: 441.6 kB / 1.014 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.3769, allocations: 6.077 MB / 1.019 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4603/0.8373, allocations: 35.2 MB / 1.054 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.8403, allocations: 2.035 MB / 1.056 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.8427, allocations: 1.849 MB / 1.058 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.8429, allocations: 17.61 kB / 1.058 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.8429, allocations: 61.39 kB / 1.058 GB, free: 134.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.018e-06/0.843, allocations: 0 / 1.058 GB, free: 134.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1406/0.9835, allocations: 39.02 MB / 1.096 GB, free: 122.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.9836, allocations: 81.56 kB / 1.096 GB, free: 122.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.9862, allocations: 2.278 MB / 1.098 GB, free: 120.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.9866, allocations: 73.7 kB / 1.098 GB, free: 120.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.9876, allocations: 2.28 MB / 1.1 GB, free: 118 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006961/0.9883, allocations: 0.93 MB / 1.101 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.9886, allocations: 239.8 kB / 1.102 GB, free: 116.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.9886, allocations: 301.1 kB / 1.102 GB, free: 116.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.9909, allocations: 1.973 MB / 1.104 GB, free: 114.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.9933, allocations: 2.602 MB / 1.106 GB, free: 111.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/0.9982, allocations: 4.932 MB / 1.111 GB, free: 106.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.9983, allocations: 12 kB / 1.111 GB, free: 106.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01217/1.01, allocations: 7.752 MB / 1.119 GB, free: 98.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.011, allocations: 16 kB / 1.119 GB, free: 98.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.011, allocations: 16 kB / 1.119 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008173/1.019, allocations: 3.215 MB / 1.122 GB, free: 95.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.02, allocations: 404.2 kB / 1.122 GB, free: 95.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03348/1.054, allocations: 31.17 MB / 1.153 GB, free: 63.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/1.057, allocations: 163.8 kB / 1.153 GB, free: 62.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/1.057, allocations: 108 kB / 1.153 GB, free: 62.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003276/1.061, allocations: 1.797 MB / 1.155 GB, free: 61.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008619/1.061, allocations: 332.1 kB / 1.155 GB, free: 60.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.074, allocations: 7.353 MB / 1.162 GB, free: 53.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.074, allocations: 28 kB / 1.162 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.783e-05/1.074, allocations: 32 kB / 1.162 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/1.074, allocations: 11.95 kB / 1.162 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.098, allocations: 12.93 MB / 1.175 GB, free: 40.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/1.098, allocations: 8.062 kB / 1.175 GB, free: 40.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008938/1.099, allocations: 236.1 kB / 1.175 GB, free: 39.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007429/1.106, allocations: 2.859 MB / 1.178 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/1.107, allocations: 51.94 kB / 1.178 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03301/1.14, allocations: 29.96 MB / 1.207 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.14, allocations: 15.94 kB / 1.207 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.152, allocations: 6.894 MB / 1.214 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.154, allocations: 0.7782 MB / 1.215 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009721/1.155, allocations: 51.94 kB / 1.215 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.157, allocations: 171.8 kB / 1.215 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/1.158, allocations: 253.5 kB / 1.215 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/1.158, allocations: 79.98 kB / 1.215 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002929/1.161, allocations: 1.525 MB / 1.217 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 0 / 1.217 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004919/1.166, allocations: 1.352 MB / 1.218 GB, free: 10.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005126/1.167, allocations: 181.4 kB / 1.218 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.179, allocations: 6.906 MB / 1.225 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.179, allocations: 4 kB / 1.225 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008099/1.187, allocations: 4.421 MB / 1.229 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007585/1.195, allocations: 1.034 MB / 1.23 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.217, allocations: 13.14 MB / 1.243 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005624/1.223, allocations: 3.761 MB / 1.247 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/1.224, allocations: 167.4 kB / 1.247 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/1.224, allocations: 0 / 1.247 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.6844/1.908, allocations: 226.6 MB / 1.468 GB, free: 235.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)