Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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/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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001184/0.001184, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 278.6 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.9396/0.9396, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 88.23 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4402, allocations: 86.99 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02202/0.4622, allocations: 20.23 MB / 0.7868 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00985/0.4721, allocations: 6.441 MB / 0.7931 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.4731, allocations: 87.56 kB / 0.7932 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.4782, allocations: 2.245 MB / 0.7954 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.4806, allocations: 1.24 MB / 0.7966 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.4834, allocations: 1.283 MB / 0.7979 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004957/0.4884, allocations: 4.869 MB / 0.8026 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.496, allocations: 5.586 MB / 0.8081 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.4993, allocations: 2.115 MB / 0.8101 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.5029, allocations: 2.344 MB / 0.8124 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.5041, allocations: 428 kB / 0.8128 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.5066, allocations: 1.01 MB / 0.8138 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.5082, allocations: 1.661 MB / 0.8154 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.5101, allocations: 1.91 MB / 0.8173 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.5156, allocations: 6.517 MB / 0.8237 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5156, allocations: 0 / 0.8237 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5156, allocations: 0 / 0.8237 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.996e-05/0.5157, allocations: 0 / 0.8237 GB, free: 9.711 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005996/0.5217, allocations: 3.463 MB / 0.8271 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5217, allocations: 15.97 kB / 0.8271 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.5251, allocations: 0.6332 MB / 0.8277 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.5289, allocations: 2.049 MB / 0.8297 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.5291, allocations: 222.3 kB / 0.8299 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.5296, allocations: 292.3 kB / 0.8302 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007136/0.5367, allocations: 4.894 MB / 0.835 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/0.5368, allocations: 11.84 kB / 0.835 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.5371, allocations: 128 kB / 0.8351 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/0.5375, allocations: 229.7 kB / 0.8353 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005369/0.5429, allocations: 3.746 MB / 0.839 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.5621, allocations: 21.39 MB / 0.8599 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.5639, allocations: 1.313 MB / 0.8611 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.5653, allocations: 1.053 MB / 0.8622 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/0.5653, allocations: 16.98 kB / 0.8622 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5654, allocations: 43.56 kB / 0.8622 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/0.5654, allocations: 0 / 0.8622 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02391/0.5893, allocations: 8.668 MB / 0.8707 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.5894, allocations: 68.66 kB / 0.8708 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.5907, allocations: 1.134 MB / 0.8719 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.5908, allocations: 45.7 kB / 0.8719 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/0.5916, allocations: 1.296 MB / 0.8732 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.592, allocations: 485.1 kB / 0.8736 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.5924, allocations: 287.3 kB / 0.8739 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.5925, allocations: 313.1 kB / 0.8742 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.5938, allocations: 0.9096 MB / 0.8751 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.5954, allocations: 1.322 MB / 0.8764 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.5986, allocations: 2.422 MB / 0.8788 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.5986, allocations: 4 kB / 0.8788 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00593/0.6045, allocations: 3.475 MB / 0.8822 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6045, allocations: 8 kB / 0.8822 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6046, allocations: 12 kB / 0.8822 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.6078, allocations: 1.189 MB / 0.8833 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.6087, allocations: 255.5 kB / 0.8836 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.6258, allocations: 13.83 MB / 0.8971 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6269, allocations: 91.97 kB / 0.8972 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.627, allocations: 67.98 kB / 0.8972 GB, free: 11.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001581/0.6286, allocations: 1.117 MB / 0.8983 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.6289, allocations: 158.1 kB / 0.8985 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00581/0.6347, allocations: 3.169 MB / 0.9016 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.6348, allocations: 7.969 kB / 0.9016 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6348, allocations: 4 kB / 0.9016 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/0.6356, allocations: 434.9 kB / 0.902 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.6359, allocations: 35.88 kB / 0.902 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.6367, allocations: 67.91 kB / 0.9021 GB, free: 6.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.637, allocations: 145 kB / 0.9022 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007211/0.6442, allocations: 3.492 MB / 0.9057 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00413/0.6483, allocations: 3.331 MB / 0.9089 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001245/0.6496, allocations: 1.029 MB / 0.9099 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009887/0.6506, allocations: 0.7671 MB / 0.9107 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of Backend: time 2.31e-07/0.6506, allocations: 3.938 kB / 0.9107 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004889/0.6555, allocations: 2.733 MB / 0.9133 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of SimCode: time 0.009054/0.6646, allocations: 5.982 MB / 0.9192 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of Templates: time 0.05452/0.7191, allocations: 36.39 MB / 0.9547 GB, free: 0.5547 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)