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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008493/0.008493, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001297/0.001297, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.41/1.41, allocations: 251.7 MB / 0.5094 GB, free: 388 kB / 430.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.001485/0.001485, allocations: 67.91 kB / 0.7258 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8133, allocations: 104.7 MB / 0.8281 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04261/0.856, allocations: 37.51 MB / 0.8647 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.8807, allocations: 13.05 MB / 0.8774 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005577/0.8863, allocations: 171.1 kB / 0.8776 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.8979, allocations: 3.873 MB / 0.8814 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009479/0.9074, allocations: 2.491 MB / 0.8838 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009222/0.9167, allocations: 2.696 MB / 0.8864 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01594/0.9326, allocations: 9.532 MB / 0.8957 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02044/0.9531, allocations: 10.49 MB / 0.906 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/0.9648, allocations: 3.968 MB / 0.9099 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.9757, allocations: 4.385 MB / 0.9141 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003949/0.9797, allocations: 0.7695 MB / 0.9149 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007563/0.9873, allocations: 1.787 MB / 0.9166 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006761/0.9941, allocations: 3.013 MB / 0.9196 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/1.005, allocations: 3.579 MB / 0.9231 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/1.024, allocations: 11.84 MB / 0.9346 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.024, allocations: 7.984 kB / 0.9346 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.405e-06/1.024, allocations: 4 kB / 0.9347 GB, free: 5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004966/1.025, allocations: 0 / 0.9347 GB, free: 5 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02527/1.05, allocations: 6.358 MB / 0.9409 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/1.05, allocations: 12.03 kB / 0.9409 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.061, allocations: 1.297 MB / 0.9421 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009993/1.071, allocations: 3.787 MB / 0.9458 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/1.072, allocations: 382.5 kB / 0.9462 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/1.074, allocations: 0.5001 MB / 0.9467 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/1.102, allocations: 8.878 MB / 0.9554 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004234/1.103, allocations: 35.77 kB / 0.9554 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003441/1.106, allocations: 219.9 kB / 0.9556 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003059/1.109, allocations: 0.6304 MB / 0.9562 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/1.128, allocations: 7.01 MB / 0.9631 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06794/1.196, allocations: 40.02 MB / 1.002 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/1.201, allocations: 2.898 MB / 1.005 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/1.206, allocations: 2.663 MB / 1.008 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/1.206, allocations: 26.09 kB / 1.008 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/1.206, allocations: 76.53 kB / 1.008 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=265): time 5.24e-06/1.206, allocations: 0 / 1.008 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=424): time 0.3193/1.526, allocations: 74.69 MB / 1.081 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.526, allocations: 94.73 kB / 1.081 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/1.53, allocations: 2.359 MB / 1.083 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0009962/1.531, allocations: 97.7 kB / 1.083 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.533, allocations: 2.337 MB / 1.085 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002231/1.535, allocations: 1.432 MB / 1.087 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.536, allocations: 0.7215 MB / 1.087 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.537, allocations: 305.1 kB / 1.088 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004752/1.541, allocations: 2.999 MB / 1.091 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005654/1.547, allocations: 3.843 MB / 1.094 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.558, allocations: 7.388 MB / 1.102 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/1.558, allocations: 8 kB / 1.102 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.6239/2.182, allocations: 12.55 MB / 1.114 GB, free: 252.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/2.182, allocations: 15.78 kB / 1.114 GB, free: 252.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/2.183, allocations: 19.69 kB / 1.114 GB, free: 252.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/2.204, allocations: 6.034 MB / 1.12 GB, free: 250.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/2.206, allocations: 0.4921 MB / 1.12 GB, free: 250.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0709/2.277, allocations: 72.99 MB / 1.192 GB, free: 185.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/2.282, allocations: 211.8 kB / 1.192 GB, free: 185.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005999/2.283, allocations: 156 kB / 1.192 GB, free: 185.1 MB / 0.9044 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003878/2.287, allocations: 1.99 MB / 1.194 GB, free: 183.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/2.288, allocations: 395.2 kB / 1.194 GB, free: 182.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02462/2.312, allocations: 12.23 MB / 1.206 GB, free: 170.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/2.312, allocations: 44 kB / 1.206 GB, free: 170.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001818/2.313, allocations: 48 kB / 1.206 GB, free: 170.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/2.313, allocations: 19.92 kB / 1.206 GB, free: 170.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03931/2.352, allocations: 19.14 MB / 1.225 GB, free: 151 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-05/2.352, allocations: 19.92 kB / 1.225 GB, free: 151 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/2.354, allocations: 287.5 kB / 1.225 GB, free: 150.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01906/2.373, allocations: 5.585 MB / 1.231 GB, free: 145.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007436/2.373, allocations: 80 kB / 1.231 GB, free: 145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06682/2.44, allocations: 70.6 MB / 1.3 GB, free: 71.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.44, allocations: 15.94 kB / 1.3 GB, free: 71.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/2.468, allocations: 15.61 MB / 1.315 GB, free: 55.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/2.472, allocations: 1.039 MB / 1.316 GB, free: 54.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/2.474, allocations: 87.98 kB / 1.316 GB, free: 54.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/2.477, allocations: 215.7 kB / 1.316 GB, free: 53.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/2.479, allocations: 406.3 kB / 1.317 GB, free: 53.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000308/2.479, allocations: 108 kB / 1.317 GB, free: 53.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002161/2.482, allocations: 1.553 MB / 1.318 GB, free: 51.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/2.482, allocations: 8 kB / 1.318 GB, free: 51.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.008167/2.49, allocations: 1.844 MB / 1.32 GB, free: 49.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006811/2.491, allocations: 220.7 kB / 1.32 GB, free: 49.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01896/2.509, allocations: 12.19 MB / 1.332 GB, free: 37.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/2.51, allocations: 4 kB / 1.332 GB, free: 37.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01345/2.523, allocations: 8.361 MB / 1.34 GB, free: 28.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/2.529, allocations: 1.185 MB / 1.342 GB, free: 27.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/2.552, allocations: 12.19 MB / 1.354 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007005/2.559, allocations: 4.086 MB / 1.358 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002893/2.562, allocations: 0.6669 MB / 1.358 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/2.563, allocations: 183.4 kB / 1.358 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of SimCode: time 1.152e-06/2.563, allocations: 3.938 kB / 1.358 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.1976/2.761, allocations: 110.7 MB / 1.466 GB, free: 12.76 MB / 1.014 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)