Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001385/0.001385, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.816/0.816, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 0.4945 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4296, allocations: 78.7 MB / 0.5713 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03325/0.4629, allocations: 34.79 MB / 0.6053 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4801, allocations: 9.851 MB / 0.6149 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004827/0.485, allocations: 131.2 kB / 0.615 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.4953, allocations: 3.56 MB / 0.6185 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.5027, allocations: 1.874 MB / 0.6204 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.5086, allocations: 1.793 MB / 0.6221 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.5194, allocations: 8.009 MB / 0.6299 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02063/0.54, allocations: 11.69 MB / 0.6413 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006529/0.5466, allocations: 3.427 MB / 0.6447 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006422/0.5531, allocations: 3.906 MB / 0.6485 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002097/0.5552, allocations: 0.6874 MB / 0.6492 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.5594, allocations: 1.44 MB / 0.6506 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004477/0.5639, allocations: 2.62 MB / 0.6531 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006657/0.5706, allocations: 3.105 MB / 0.6562 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.5828, allocations: 10.38 MB / 0.6663 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.5829, allocations: 3.938 kB / 0.6663 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5829, allocations: 0 / 0.6663 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003055/0.5832, allocations: 0 / 0.6663 GB, free: 5.312 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01373/0.5969, allocations: 5.412 MB / 0.6716 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.597, allocations: 8.031 kB / 0.6716 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.6022, allocations: 0.9626 MB / 0.6725 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/0.6082, allocations: 2.995 MB / 0.6755 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.6085, allocations: 365.9 kB / 0.6758 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.6097, allocations: 468.2 kB / 0.6763 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.6263, allocations: 7.902 MB / 0.684 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.6265, allocations: 23.86 kB / 0.684 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.6276, allocations: 211.9 kB / 0.6842 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005368/0.6281, allocations: 369.1 kB / 0.6846 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.6393, allocations: 5.933 MB / 0.6904 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04232/0.6816, allocations: 36.21 MB / 0.7257 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.6856, allocations: 2.139 MB / 0.7278 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.6878, allocations: 1.484 MB / 0.7293 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.6879, allocations: 17.31 kB / 0.7293 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.688, allocations: 55.81 kB / 0.7293 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/0.688, allocations: 0 / 0.7293 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.0145/0.7025, allocations: 7.536 MB / 0.7367 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.7026, allocations: 68.72 kB / 0.7367 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.7056, allocations: 1.868 MB / 0.7386 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.7058, allocations: 53.7 kB / 0.7386 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.7073, allocations: 2.123 MB / 0.7407 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.7078, allocations: 0.5585 MB / 0.7412 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000727/0.7086, allocations: 399.7 kB / 0.7416 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.7087, allocations: 301.1 kB / 0.7419 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.7104, allocations: 1.062 MB / 0.7429 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.7125, allocations: 1.764 MB / 0.7447 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2761/0.9886, allocations: 3.048 MB / 0.7476 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.9887, allocations: 8.5 kB / 0.7477 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00711/0.9958, allocations: 3.92 MB / 0.7515 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.9959, allocations: 15.84 kB / 0.7515 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/0.996, allocations: 23.03 kB / 0.7515 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.9989, allocations: 0.9284 MB / 0.7524 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1, allocations: 429.2 kB / 0.7528 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/1.017, allocations: 22.78 MB / 0.7751 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.02, allocations: 120.3 kB / 0.7752 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.02, allocations: 92.28 kB / 0.7753 GB, free: 128.5 MB / 0.5762 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002701/1.023, allocations: 1.652 MB / 0.7769 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/1.023, allocations: 252.5 kB / 0.7771 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/1.028, allocations: 3.258 MB / 0.7803 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.028, allocations: 19.66 kB / 0.7803 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.029, allocations: 9.656 kB / 0.7803 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.029, allocations: 15.19 kB / 0.7804 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/1.039, allocations: 7.547 MB / 0.7877 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.039, allocations: 7.078 kB / 0.7877 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/1.039, allocations: 214 kB / 0.7879 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.041, allocations: 0.9025 MB / 0.7888 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/1.041, allocations: 39.66 kB / 0.7889 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/1.056, allocations: 22.73 MB / 0.8111 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.056, allocations: 7.938 kB / 0.8111 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/1.061, allocations: 3.386 MB / 0.8144 GB, free: 96.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.062, allocations: 0.5226 MB / 0.8149 GB, free: 96.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.062, allocations: 32 kB / 0.8149 GB, free: 96.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.063, allocations: 99.88 kB / 0.815 GB, free: 96.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.064, allocations: 141 kB / 0.8151 GB, free: 95.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/1.064, allocations: 44 kB / 0.8152 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001412/1.065, allocations: 1.225 MB / 0.8164 GB, free: 94.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.065, allocations: 0 / 0.8164 GB, free: 94.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002763/1.068, allocations: 0.9062 MB / 0.8173 GB, free: 93.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002689/1.068, allocations: 155.5 kB / 0.8174 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006749/1.075, allocations: 5.212 MB / 0.8225 GB, free: 88.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.075, allocations: 3.375 kB / 0.8225 GB, free: 88.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.079, allocations: 2.99 MB / 0.8254 GB, free: 85.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.082, allocations: 0.8224 MB / 0.8262 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.094, allocations: 9.702 MB / 0.8357 GB, free: 74.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/1.096, allocations: 3.207 MB / 0.8388 GB, free: 71.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001917/1.098, allocations: 0.5254 MB / 0.8394 GB, free: 70.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.099, allocations: 139.4 kB / 0.8395 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/1.099, allocations: 0 / 0.8395 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.06638/1.165, allocations: 43.15 MB / 0.8816 GB, free: 28.19 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)