Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001606, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.94 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04406/0.3845, allocations: 41.2 MB / 1.108 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02934/0.4139, allocations: 15.07 MB / 1.123 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006159/0.4201, allocations: 187.1 kB / 1.123 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.4324, allocations: 4.46 MB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.4425, allocations: 2.794 MB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009954/0.4524, allocations: 3.166 MB / 1.133 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01895/0.4714, allocations: 11.39 MB / 1.145 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02309/0.4946, allocations: 12.64 MB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/0.5051, allocations: 4.802 MB / 1.162 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.5163, allocations: 5.382 MB / 1.167 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004422/0.5207, allocations: 0.9492 MB / 1.168 GB, free: 4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008072/0.5288, allocations: 2.036 MB / 1.17 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.5361, allocations: 3.688 MB / 1.173 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01158/0.5477, allocations: 4.299 MB / 1.178 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02254/0.5703, allocations: 14.19 MB / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5704, allocations: 0 / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5704, allocations: 4 kB / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005623/0.571, allocations: 3.938 kB / 1.191 GB, free: 11.71 MB / 0.9512 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.02989/0.6009, allocations: 7.593 MB / 1.199 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6009, allocations: 8.031 kB / 1.199 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.6128, allocations: 1.522 MB / 1.2 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.6235, allocations: 4.209 MB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005628/0.6241, allocations: 456.4 kB / 1.205 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00323/0.6273, allocations: 0.5939 MB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/0.6534, allocations: 10.69 MB / 1.216 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003444/0.6538, allocations: 23.77 kB / 1.216 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/0.6561, allocations: 267.9 kB / 1.216 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003325/0.6595, allocations: 0.7768 MB / 1.217 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.6792, allocations: 8.561 MB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8146/1.494, allocations: 46.85 MB / 1.271 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008654/1.503, allocations: 4.314 MB / 1.275 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008776/1.511, allocations: 3.697 MB / 1.279 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/1.512, allocations: 36.28 kB / 1.279 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.512, allocations: 81.61 kB / 1.279 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 8.907e-06/1.512, allocations: 0 / 1.279 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.5177/2.03, allocations: 122.8 MB / 1.399 GB, free: 41.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/2.03, allocations: 119.9 kB / 1.399 GB, free: 40.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/2.034, allocations: 2.673 MB / 1.402 GB, free: 38.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/2.036, allocations: 125.7 kB / 1.402 GB, free: 38.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/2.037, allocations: 2.678 MB / 1.404 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/2.039, allocations: 1.949 MB / 1.406 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/2.041, allocations: 0.9365 MB / 1.407 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/2.042, allocations: 305.1 kB / 1.408 GB, free: 32.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/2.047, allocations: 4.079 MB / 1.412 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/2.052, allocations: 5.015 MB / 1.416 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/2.065, allocations: 9.848 MB / 1.426 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/2.065, allocations: 4 kB / 1.426 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03839/2.103, allocations: 16.99 MB / 1.443 GB, free: 11.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/2.103, allocations: 16 kB / 1.443 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/2.103, allocations: 24 kB / 1.443 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03487/2.138, allocations: 9.153 MB / 1.452 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/2.141, allocations: 0.5226 MB / 1.452 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.117/2.258, allocations: 77.02 MB / 1.527 GB, free: 3.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/2.263, allocations: 279.8 kB / 1.528 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/2.264, allocations: 188 kB / 1.528 GB, free: 2.68 MB / 1.092 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.005117/2.269, allocations: 2.421 MB / 1.53 GB, free: 252 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/2.271, allocations: 470.6 kB / 1.531 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03824/2.309, allocations: 16.83 MB / 1.547 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.742e-05/2.309, allocations: 56 kB / 1.547 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002249/2.309, allocations: 68 kB / 1.547 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000122/2.309, allocations: 39.72 kB / 1.547 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05765/2.367, allocations: 25.65 MB / 1.572 GB, free: 4.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-05/2.367, allocations: 4 kB / 1.572 GB, free: 4.766 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/2.369, allocations: 323.5 kB / 1.573 GB, free: 4.449 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03065/2.4, allocations: 8.34 MB / 1.581 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/2.401, allocations: 104 kB / 1.581 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1129/2.514, allocations: 73.9 MB / 1.653 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-05/2.514, allocations: 11.94 kB / 1.653 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04714/2.561, allocations: 21.55 MB / 1.674 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004193/2.565, allocations: 1.358 MB / 1.675 GB, free: 9.227 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/2.567, allocations: 111.9 kB / 1.675 GB, free: 9.117 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004411/2.572, allocations: 287.6 kB / 1.676 GB, free: 8.836 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002231/2.574, allocations: 0.5182 MB / 1.676 GB, free: 8.316 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005627/2.574, allocations: 152 kB / 1.676 GB, free: 8.168 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002897/2.577, allocations: 1.776 MB / 1.678 GB, free: 6.402 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/2.577, allocations: 0 / 1.678 GB, free: 6.402 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.009389/2.587, allocations: 2.461 MB / 1.681 GB, free: 3.941 MB / 1.248 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.001092/2.588, allocations: 246.9 kB / 1.681 GB, free: 3.695 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.04007/2.628, allocations: 18.67 MB / 1.699 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/2.628, allocations: 4 kB / 1.699 GB, free: 0.8359 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.02318/2.651, allocations: 9.355 MB / 1.708 GB, free: 7.332 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/2.661, allocations: 1.379 MB / 1.709 GB, free: 6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/2.701, allocations: 15.72 MB / 1.725 GB, free: 6.156 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009674/2.711, allocations: 4.896 MB / 1.73 GB, free: 1.219 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003957/2.715, allocations: 0.7449 MB / 1.73 GB, free: 480 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009062/2.716, allocations: 199.4 kB / 1.731 GB, free: 280 kB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/2.716, allocations: 0 / 1.731 GB, free: 280 kB / 1.295 GB Notification: Performance of Templates: time 0.7649/3.481, allocations: 147.5 MB / 1.875 GB, free: 330.9 MB / 1.295 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)