Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001164/0.001164, allocations: 105.9 kB / 17.03 MB, free: 5.703 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.001111/0.001111, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7504/0.7504, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3317, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01919/0.351, allocations: 20.21 MB / 0.5773 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0097/0.3607, allocations: 6.439 MB / 0.5836 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.3626, allocations: 88.47 kB / 0.5837 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005214/0.3678, allocations: 2.239 MB / 0.5859 GB, free: 17.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.371, allocations: 1.178 MB / 0.587 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.3744, allocations: 1.293 MB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005733/0.3801, allocations: 4.856 MB / 0.593 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006106/0.3863, allocations: 5.598 MB / 0.5985 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.3893, allocations: 2.084 MB / 0.6005 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.3919, allocations: 2.344 MB / 0.6028 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005897/0.3925, allocations: 432 kB / 0.6032 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3943, allocations: 1.003 MB / 0.6042 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.3956, allocations: 1.665 MB / 0.6058 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.3975, allocations: 1.91 MB / 0.6077 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.404, allocations: 6.513 MB / 0.6141 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.404, allocations: 4 kB / 0.6141 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.404, allocations: 0 / 0.6141 GB, free: 10.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.4042, allocations: 0 / 0.6141 GB, free: 10.6 MB / 462.1 MB 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.007008/0.4112, allocations: 3.471 MB / 0.6175 GB, free: 7.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4113, allocations: 8.031 kB / 0.6175 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.4148, allocations: 0.6332 MB / 0.6181 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004621/0.4194, allocations: 2.033 MB / 0.6201 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4196, allocations: 226.3 kB / 0.6203 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007081/0.4203, allocations: 292.3 kB / 0.6206 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/0.4287, allocations: 4.902 MB / 0.6254 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/0.4288, allocations: 11.88 kB / 0.6254 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.4291, allocations: 124 kB / 0.6255 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004177/0.4295, allocations: 229.7 kB / 0.6257 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006317/0.4358, allocations: 3.75 MB / 0.6294 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.4596, allocations: 21.41 MB / 0.6503 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.4615, allocations: 1.312 MB / 0.6515 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.463, allocations: 1.049 MB / 0.6526 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.4631, allocations: 13 kB / 0.6526 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4631, allocations: 47.5 kB / 0.6526 GB, free: 0.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=107): time 3.316e-06/0.4631, allocations: 0 / 0.6526 GB, free: 0.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.02397/0.4871, allocations: 8.649 MB / 0.6611 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4872, allocations: 72.72 kB / 0.6611 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.4887, allocations: 1.13 MB / 0.6622 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.4889, allocations: 53.7 kB / 0.6623 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.4898, allocations: 1.288 MB / 0.6636 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.4903, allocations: 485.1 kB / 0.664 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.4908, allocations: 291.3 kB / 0.6643 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4909, allocations: 309.1 kB / 0.6646 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.4922, allocations: 0.9096 MB / 0.6655 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4938, allocations: 1.326 MB / 0.6668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.4969, allocations: 2.43 MB / 0.6691 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.497, allocations: 4 kB / 0.6692 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006104/0.5031, allocations: 3.464 MB / 0.6725 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.5031, allocations: 13.72 kB / 0.6725 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5031, allocations: 15.94 kB / 0.6726 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/0.5064, allocations: 1.187 MB / 0.6737 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5075, allocations: 259.5 kB / 0.674 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.5251, allocations: 13.84 MB / 0.6875 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5265, allocations: 83.98 kB / 0.6876 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.5267, allocations: 63.98 kB / 0.6876 GB, free: 12.01 MB / 0.5294 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.001721/0.5284, allocations: 1.116 MB / 0.6887 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.5287, allocations: 166 kB / 0.6889 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.5344, allocations: 3.169 MB / 0.692 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.5345, allocations: 16 kB / 0.692 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.5345, allocations: 19.92 kB / 0.692 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.5345, allocations: 7.969 kB / 0.692 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.5455, allocations: 6.241 MB / 0.6981 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5455, allocations: 4 kB / 0.6981 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.5461, allocations: 147.8 kB / 0.6983 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/0.549, allocations: 1.072 MB / 0.6993 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5492, allocations: 28 kB / 0.6993 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.5664, allocations: 13.53 MB / 0.7125 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5664, allocations: 4 kB / 0.7125 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.5718, allocations: 3.154 MB / 0.7156 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.5728, allocations: 430.9 kB / 0.716 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.5731, allocations: 31.94 kB / 0.7161 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.5739, allocations: 79.89 kB / 0.7161 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.5742, allocations: 124.7 kB / 0.7163 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.5743, allocations: 48.31 kB / 0.7163 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001039/0.5754, allocations: 0.7632 MB / 0.7171 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5754, allocations: 0 / 0.7171 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001886/0.5773, allocations: 0.6602 MB / 0.7177 GB, free: 12.5 MB / 0.5606 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 (70): * Single equations (assignments): 67 * 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,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.5775, allocations: 143.1 kB / 0.7178 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004898/0.5824, allocations: 3.134 MB / 0.7209 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.5824, allocations: 8.25 kB / 0.7209 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.5855, allocations: 1.947 MB / 0.7228 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.5877, allocations: 0.5007 MB / 0.7233 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.597, allocations: 5.372 MB / 0.7285 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/0.5996, allocations: 2.332 MB / 0.7308 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001053/0.6006, allocations: 350.2 kB / 0.7312 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6009, allocations: 91.42 kB / 0.7312 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.6009, allocations: 0 / 0.7312 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.2918/0.8927, allocations: 32.66 MB / 0.7631 GB, free: 151.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)