Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001101/0.001101, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001305/0.001305, allocations: 191.5 kB / 16.14 MB, free: 6.734 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 286.8 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 91.31 kB / 0.5945 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1606, allocations: 86.98 MB / 0.6795 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04052/0.2012, allocations: 37.23 MB / 0.7158 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.2214, allocations: 13.01 MB / 0.7285 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.2247, allocations: 155.1 kB / 0.7287 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008535/0.2333, allocations: 3.609 MB / 0.7322 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.2395, allocations: 2.352 MB / 0.7345 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.2458, allocations: 2.47 MB / 0.7369 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01349/0.2593, allocations: 13.37 MB / 0.75 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.275, allocations: 11.69 MB / 0.7614 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/0.2812, allocations: 3.397 MB / 0.7647 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006911/0.2882, allocations: 4.459 MB / 0.769 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.2901, allocations: 0.4922 MB / 0.7695 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.2946, allocations: 1.817 MB / 0.7713 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003867/0.2984, allocations: 2.751 MB / 0.774 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.2834/0.5819, allocations: 3.266 MB / 0.7772 GB, free: 31.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.5969, allocations: 11.65 MB / 0.7886 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5969, allocations: 0 / 0.7886 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5969, allocations: 0 / 0.7886 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003807/0.5973, allocations: 0 / 0.7886 GB, free: 30.21 MB / 0.5606 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.01957/0.6169, allocations: 6.358 MB / 0.7948 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6169, allocations: 9.75 kB / 0.7948 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009022/0.6259, allocations: 1.303 MB / 0.7961 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007597/0.6336, allocations: 3.564 MB / 0.7995 GB, free: 26.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.6339, allocations: 378.8 kB / 0.7999 GB, free: 26.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.6361, allocations: 0.4983 MB / 0.8004 GB, free: 26.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/0.6581, allocations: 8.888 MB / 0.8091 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.6583, allocations: 31.34 kB / 0.8091 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009541/0.6593, allocations: 221.1 kB / 0.8093 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/0.6614, allocations: 0.6332 MB / 0.8099 GB, free: 25.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.6755, allocations: 7.013 MB / 0.8168 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04853/0.724, allocations: 40.34 MB / 0.8562 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.7282, allocations: 2.886 MB / 0.859 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/0.7318, allocations: 2.673 MB / 0.8616 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.732, allocations: 36.45 kB / 0.8616 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.7321, allocations: 60.25 kB / 0.8617 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.9e-06/0.7321, allocations: 3.562 kB / 0.8617 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.3022/1.034, allocations: 74.67 MB / 0.9346 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/1.034, allocations: 94.73 kB / 0.9347 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.038, allocations: 2.352 MB / 0.937 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009213/1.039, allocations: 97.7 kB / 0.9371 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.041, allocations: 2.328 MB / 0.9394 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/1.043, allocations: 1.447 MB / 0.9408 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002071/1.045, allocations: 0.7215 MB / 0.9415 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/1.045, allocations: 309.1 kB / 0.9418 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/1.05, allocations: 2.999 MB / 0.9447 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/1.054, allocations: 3.844 MB / 0.9485 GB, free: 14.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.065, allocations: 7.381 MB / 0.9557 GB, free: 6.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/1.065, allocations: 4 kB / 0.9557 GB, free: 6.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02898/1.094, allocations: 12.57 MB / 0.9679 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.094, allocations: 12 kB / 0.9679 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.094, allocations: 24 kB / 0.968 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02318/1.117, allocations: 6.009 MB / 0.9738 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/1.119, allocations: 498.8 kB / 0.9743 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08013/1.199, allocations: 67.18 MB / 1.04 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.203, allocations: 211.8 kB / 1.04 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004897/1.204, allocations: 160 kB / 1.04 GB, free: 13.39 MB / 0.7637 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.003733/1.208, allocations: 1.993 MB / 1.042 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008931/1.209, allocations: 391.4 kB / 1.043 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3215/1.53, allocations: 12.23 MB / 1.055 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/1.53, allocations: 40.22 kB / 1.055 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000169/1.53, allocations: 50.69 kB / 1.055 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-05/1.531, allocations: 20.23 kB / 1.055 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03988/1.57, allocations: 19.14 MB / 1.073 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.757e-05/1.571, allocations: 11.66 kB / 1.073 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.572, allocations: 286.1 kB / 1.074 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02086/1.593, allocations: 5.58 MB / 1.079 GB, free: 262.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006872/1.594, allocations: 79.73 kB / 1.079 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0625/1.656, allocations: 64.78 MB / 1.142 GB, free: 213.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.656, allocations: 8 kB / 1.142 GB, free: 213.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0278/1.684, allocations: 15.62 MB / 1.158 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/1.687, allocations: 1.044 MB / 1.159 GB, free: 196.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/1.688, allocations: 83.98 kB / 1.159 GB, free: 196.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.691, allocations: 211.7 kB / 1.159 GB, free: 196.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/1.692, allocations: 402.2 kB / 1.159 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.692, allocations: 108 kB / 1.159 GB, free: 196 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001836/1.694, allocations: 1.56 MB / 1.161 GB, free: 194.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/1.694, allocations: 0 / 1.161 GB, free: 194.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005555/1.7, allocations: 1.859 MB / 1.163 GB, free: 192.6 MB / 0.7637 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.0005172/1.7, allocations: 229.3 kB / 1.163 GB, free: 192.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01703/1.717, allocations: 12.16 MB / 1.175 GB, free: 179.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.717, allocations: 4 kB / 1.175 GB, free: 179.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01282/1.73, allocations: 8.359 MB / 1.183 GB, free: 171.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/1.735, allocations: 1.113 MB / 1.184 GB, free: 170.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.755, allocations: 14.79 MB / 1.199 GB, free: 155.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/1.76, allocations: 4.092 MB / 1.203 GB, free: 151.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002506/1.762, allocations: 0.6669 MB / 1.203 GB, free: 150.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/1.763, allocations: 179.4 kB / 1.203 GB, free: 150.4 MB / 0.7637 GB Notification: Performance of SimCode: time 7.72e-07/1.763, allocations: 4 kB / 1.203 GB, free: 150.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.1399/1.903, allocations: 108 MB / 1.309 GB, free: 43.44 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)