Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.712/0.712, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 14.69 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3534/0.5223, allocations: 25.71 MB / 0.5851 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5355, allocations: 7.974 MB / 0.5929 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.5381, allocations: 98.59 kB / 0.593 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.5396, allocations: 0.5243 MB / 0.5935 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.5443, allocations: 1.493 MB / 0.5949 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.5496, allocations: 1.403 MB / 0.5963 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01211/0.5617, allocations: 8.703 MB / 0.6048 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01443/0.5762, allocations: 9.163 MB / 0.6138 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.5803, allocations: 1.859 MB / 0.6156 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005067/0.5854, allocations: 2.46 MB / 0.618 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.587, allocations: 212.2 kB / 0.6182 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.5914, allocations: 1.19 MB / 0.6193 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.5945, allocations: 1.67 MB / 0.621 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005031/0.5996, allocations: 1.956 MB / 0.6229 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009394/0.609, allocations: 7.682 MB / 0.6304 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6091, allocations: 4 kB / 0.6304 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6091, allocations: 0 / 0.6304 GB, free: 13.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002544/0.6093, allocations: 4 kB / 0.6304 GB, free: 13.36 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00803/0.6174, allocations: 3.42 MB / 0.6337 GB, free: 9.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6174, allocations: 11.97 kB / 0.6337 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.6223, allocations: 0.8025 MB / 0.6345 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.6272, allocations: 2.424 MB / 0.6369 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.6274, allocations: 278.1 kB / 0.6372 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008273/0.6282, allocations: 377 kB / 0.6375 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.6391, allocations: 5.986 MB / 0.6434 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.744e-05/0.6393, allocations: 27.72 kB / 0.6434 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.6397, allocations: 153.5 kB / 0.6435 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006142/0.6403, allocations: 282.9 kB / 0.6438 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.6488, allocations: 4.52 MB / 0.6482 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/0.6792, allocations: 27.7 MB / 0.6753 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.6811, allocations: 1.115 MB / 0.6764 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.6824, allocations: 1.019 MB / 0.6774 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.791e-05/0.6825, allocations: 21 kB / 0.6774 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.6825, allocations: 43.56 kB / 0.6774 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=110): time 2.936e-06/0.6826, allocations: 3.938 kB / 0.6774 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.0222/0.7048, allocations: 9.678 MB / 0.6869 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.7049, allocations: 68.66 kB / 0.6869 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.7069, allocations: 1.492 MB / 0.6884 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.707, allocations: 53.7 kB / 0.6884 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.7081, allocations: 1.676 MB / 0.6901 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.7085, allocations: 465.6 kB / 0.6905 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.7087, allocations: 145.6 kB / 0.6907 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.7088, allocations: 309.1 kB / 0.691 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.7102, allocations: 0.9135 MB / 0.6918 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.7119, allocations: 1.463 MB / 0.6933 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.7152, allocations: 2.546 MB / 0.6958 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7152, allocations: 4 kB / 0.6958 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006003/0.7212, allocations: 3.285 MB / 0.699 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.7212, allocations: 12 kB / 0.699 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.7213, allocations: 20 kB / 0.699 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.7236, allocations: 0.7379 MB / 0.6997 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.7252, allocations: 391.3 kB / 0.7001 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.7405, allocations: 15.78 MB / 0.7155 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.7425, allocations: 103.8 kB / 0.7156 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.7427, allocations: 76 kB / 0.7157 GB, free: 1.367 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.7453, allocations: 1.309 MB / 0.717 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.7457, allocations: 201.7 kB / 0.7172 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.7509, allocations: 2.78 MB / 0.7199 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.751, allocations: 20 kB / 0.7199 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.751, allocations: 4 kB / 0.7199 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.751, allocations: 7.969 kB / 0.7199 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.7618, allocations: 6.212 MB / 0.726 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.7619, allocations: 7.984 kB / 0.726 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.7631, allocations: 235.6 kB / 0.7262 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.7652, allocations: 0.6718 MB / 0.7269 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.7653, allocations: 32 kB / 0.7269 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.7799, allocations: 15.52 MB / 0.742 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7799, allocations: 7.938 kB / 0.742 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.7866, allocations: 4.008 MB / 0.746 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7876, allocations: 462.6 kB / 0.7464 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.7879, allocations: 32 kB / 0.7464 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.7888, allocations: 83.89 kB / 0.7465 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.7892, allocations: 112.7 kB / 0.7466 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.7893, allocations: 47.94 kB / 0.7467 GB, free: 88 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001407/0.7907, allocations: 0.9903 MB / 0.7476 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7907, allocations: 0 / 0.7476 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002168/0.7929, allocations: 0.6874 MB / 0.7483 GB, free: 14.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.7932, allocations: 151 kB / 0.7484 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004929/0.7981, allocations: 3.503 MB / 0.7519 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7981, allocations: 192 / 0.7519 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.8012, allocations: 2.297 MB / 0.7541 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.8051, allocations: 0.619 MB / 0.7547 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.8159, allocations: 8.188 MB / 0.7627 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/0.8185, allocations: 2.676 MB / 0.7653 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001641/0.8201, allocations: 481.4 kB / 0.7658 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.8205, allocations: 123.4 kB / 0.7659 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.8205, allocations: 0 / 0.7659 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.05766/0.8782, allocations: 32.04 MB / 0.7972 GB, free: 12.51 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)