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.001378/0.001378, allocations: 104 kB / 16.41 MB, free: 6.504 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.001388/0.001388, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 288 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 91.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5601, allocations: 86.97 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04409/0.6043, allocations: 37.59 MB / 0.8038 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.6292, allocations: 13.04 MB / 0.8165 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/0.6348, allocations: 171.1 kB / 0.8167 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.6461, allocations: 3.88 MB / 0.8205 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009119/0.6552, allocations: 2.483 MB / 0.8229 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00881/0.6641, allocations: 2.713 MB / 0.8255 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0145/0.6786, allocations: 9.575 MB / 0.8349 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01704/0.6957, allocations: 10.49 MB / 0.8451 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008548/0.7043, allocations: 4.07 MB / 0.8491 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009466/0.7138, allocations: 4.381 MB / 0.8534 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003663/0.7175, allocations: 0.7695 MB / 0.8541 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007411/0.725, allocations: 1.779 MB / 0.8559 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007211/0.7322, allocations: 3.04 MB / 0.8588 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.009793/0.7421, allocations: 3.575 MB / 0.8623 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.761, allocations: 11.86 MB / 0.8739 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.761, allocations: 0 / 0.8739 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.761, allocations: 0 / 0.8739 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004365/0.7615, allocations: 0 / 0.8739 GB, free: 6.129 MB / 0.6387 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.02139/0.7829, allocations: 6.362 MB / 0.8801 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7829, allocations: 8.031 kB / 0.8801 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.7933, allocations: 1.305 MB / 0.8814 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009757/0.8031, allocations: 3.791 MB / 0.8851 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.8035, allocations: 378.5 kB / 0.8855 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.8054, allocations: 0.4924 MB / 0.886 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.8236, allocations: 8.89 MB / 0.8946 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.8238, allocations: 27.72 kB / 0.8947 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/0.8245, allocations: 219.9 kB / 0.8949 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.8269, allocations: 0.6382 MB / 0.8955 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.8414, allocations: 7.014 MB / 0.9023 GB, free: 8.488 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05386/0.8953, allocations: 40.06 MB / 0.9415 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.8993, allocations: 2.882 MB / 0.9443 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/0.9029, allocations: 2.667 MB / 0.9469 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.9031, allocations: 26.09 kB / 0.9469 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.9031, allocations: 72.52 kB / 0.947 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 3.957e-06/0.9031, allocations: 0 / 0.947 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.6482/1.551, allocations: 74.69 MB / 1.02 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.551, allocations: 94.73 kB / 1.02 GB, free: 151.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.554, allocations: 2.359 MB / 1.022 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007709/1.555, allocations: 97.7 kB / 1.022 GB, free: 149 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008962/1.556, allocations: 2.333 MB / 1.025 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.557, allocations: 1.438 MB / 1.026 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/1.558, allocations: 0.7215 MB / 1.027 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.558, allocations: 305.1 kB / 1.027 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.562, allocations: 3.003 MB / 1.03 GB, free: 141.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/1.566, allocations: 3.839 MB / 1.034 GB, free: 137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007675/1.573, allocations: 7.384 MB / 1.041 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.573, allocations: 8 kB / 1.041 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02562/1.599, allocations: 12.56 MB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/1.599, allocations: 16 kB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/1.599, allocations: 24 kB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02092/1.62, allocations: 6.02 MB / 1.059 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.622, allocations: 491.2 kB / 1.06 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0678/1.69, allocations: 72.99 MB / 1.131 GB, free: 33.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/1.694, allocations: 219.8 kB / 1.131 GB, free: 33.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/1.694, allocations: 152 kB / 1.131 GB, free: 33.4 MB / 0.7325 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.002727/1.697, allocations: 1.994 MB / 1.133 GB, free: 31.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/1.698, allocations: 391.4 kB / 1.134 GB, free: 31.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02469/1.722, allocations: 12.23 MB / 1.146 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/1.722, allocations: 47.94 kB / 1.146 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001017/1.722, allocations: 48 kB / 1.146 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.399e-05/1.722, allocations: 19.92 kB / 1.146 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.755, allocations: 19.14 MB / 1.164 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.755, allocations: 8 kB / 1.164 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.757, allocations: 287.5 kB / 1.165 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02136/1.778, allocations: 5.58 MB / 1.17 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005567/1.779, allocations: 83.98 kB / 1.17 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08372/1.863, allocations: 70.61 MB / 1.239 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.863, allocations: 11.94 kB / 1.239 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03216/1.895, allocations: 15.62 MB / 1.254 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/1.897, allocations: 1.047 MB / 1.255 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000979/1.898, allocations: 80 kB / 1.255 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/1.901, allocations: 223.7 kB / 1.256 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/1.903, allocations: 394.3 kB / 1.256 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.903, allocations: 111.9 kB / 1.256 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002202/1.905, allocations: 1.556 MB / 1.258 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.905, allocations: 0 / 1.258 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005705/1.911, allocations: 1.859 MB / 1.259 GB, free: 10.15 MB / 0.8419 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.0005862/1.911, allocations: 225.5 kB / 1.26 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02079/1.932, allocations: 12.2 MB / 1.272 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.932, allocations: 7.906 kB / 1.272 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01515/1.947, allocations: 8.355 MB / 1.28 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/1.953, allocations: 1.196 MB / 1.281 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.974, allocations: 12.92 MB / 1.294 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004834/1.979, allocations: 4.164 MB / 1.298 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/1.98, allocations: 199.4 kB / 1.298 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of SimCode: time 1.513e-06/1.98, allocations: 0 / 1.298 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of Templates: time 1.571/3.551, allocations: 0.7441 GB / 2.042 GB, free: 265.9 MB / 0.9044 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)