Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 98.34 kB / 16.02 MB, free: 80 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.001068/0.001068, allocations: 179.4 kB / 16.92 MB, free: 6.922 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 12 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4761, allocations: 79.28 MB / 0.5708 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02575/0.5019, allocations: 22.56 MB / 0.5928 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.516, allocations: 6.442 MB / 0.5991 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.5192, allocations: 77.16 kB / 0.5991 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.5216, allocations: 468.7 kB / 0.5996 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.5281, allocations: 1.749 MB / 0.6013 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.5327, allocations: 1.194 MB / 0.6025 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.5484, allocations: 10.61 MB / 0.6128 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.5634, allocations: 8.066 MB / 0.6207 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.5685, allocations: 2.077 MB / 0.6227 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006317/0.5749, allocations: 3.181 MB / 0.6258 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.5763, allocations: 244 kB / 0.6261 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.58, allocations: 1.061 MB / 0.6271 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003923/0.5839, allocations: 2.105 MB / 0.6292 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005043/0.589, allocations: 2.139 MB / 0.6313 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.6005, allocations: 8.134 MB / 0.6392 GB, free: 6.352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6006, allocations: 0 / 0.6392 GB, free: 6.352 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6006, allocations: 0 / 0.6392 GB, free: 6.352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.6009, allocations: 3.938 kB / 0.6392 GB, free: 6.348 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008976/0.6099, allocations: 3.566 MB / 0.6427 GB, free: 2.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.61, allocations: 12.03 kB / 0.6427 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009258/0.6192, allocations: 1.685 MB / 0.6443 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.6248, allocations: 2.571 MB / 0.6469 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.6251, allocations: 275.7 kB / 0.6471 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.6261, allocations: 360.3 kB / 0.6475 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.6403, allocations: 7.487 MB / 0.6548 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-05/0.6405, allocations: 15.78 kB / 0.6548 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.6409, allocations: 163.9 kB / 0.6549 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006259/0.6416, allocations: 487.3 kB / 0.6554 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.6522, allocations: 5.693 MB / 0.661 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.6876, allocations: 31.69 MB / 0.6919 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.6907, allocations: 2.087 MB / 0.694 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.6937, allocations: 2.174 MB / 0.6961 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.6939, allocations: 13.31 kB / 0.6961 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.6939, allocations: 51.88 kB / 0.6961 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 2.986e-06/0.6939, allocations: 0 / 0.6961 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.3123/1.006, allocations: 75.26 MB / 0.7696 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.006, allocations: 81.39 kB / 0.7697 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.009, allocations: 1.674 MB / 0.7714 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/1.009, allocations: 65.7 kB / 0.7714 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.011, allocations: 1.743 MB / 0.7731 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.012, allocations: 0.8587 MB / 0.774 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/1.012, allocations: 199 kB / 0.7742 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.012, allocations: 309.1 kB / 0.7744 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/1.016, allocations: 2.73 MB / 0.7771 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004482/1.021, allocations: 3.328 MB / 0.7804 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/1.029, allocations: 6.397 MB / 0.7866 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/1.03, allocations: 8 kB / 0.7866 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03416/1.064, allocations: 14.67 MB / 0.8009 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.064, allocations: 12 kB / 0.801 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/1.064, allocations: 16 kB / 0.801 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03032/1.094, allocations: 9.243 MB / 0.81 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.095, allocations: 299.4 kB / 0.8103 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4235/1.519, allocations: 47.15 MB / 0.8563 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.523, allocations: 221.6 kB / 0.8565 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.523, allocations: 97.97 kB / 0.8566 GB, free: 184.7 MB / 0.6387 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002935/1.526, allocations: 1.595 MB / 0.8582 GB, free: 184.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/1.526, allocations: 243.2 kB / 0.8584 GB, free: 184 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03012/1.557, allocations: 14.76 MB / 0.8728 GB, free: 177.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.557, allocations: 27.47 kB / 0.8729 GB, free: 177.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001505/1.557, allocations: 44 kB / 0.8729 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.853e-05/1.557, allocations: 15.95 kB / 0.8729 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03739/1.594, allocations: 20.52 MB / 0.893 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.594, allocations: 7.938 kB / 0.893 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/1.595, allocations: 163.7 kB / 0.8931 GB, free: 156.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02765/1.623, allocations: 8.994 MB / 0.9019 GB, free: 147.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/1.623, allocations: 48 kB / 0.902 GB, free: 147.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06414/1.688, allocations: 46.73 MB / 0.9476 GB, free: 99.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.688, allocations: 7.938 kB / 0.9476 GB, free: 99.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0287/1.716, allocations: 14.37 MB / 0.9616 GB, free: 85.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.718, allocations: 0.8455 MB / 0.9625 GB, free: 84.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/1.719, allocations: 51.98 kB / 0.9625 GB, free: 84.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.721, allocations: 207.7 kB / 0.9627 GB, free: 84.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/1.722, allocations: 241.4 kB / 0.9629 GB, free: 83.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.723, allocations: 64 kB / 0.963 GB, free: 83.83 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001315/1.724, allocations: 1.125 MB / 0.9641 GB, free: 82.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.724, allocations: 0 / 0.9641 GB, free: 82.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004962/1.729, allocations: 1.621 MB / 0.9657 GB, free: 81.06 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/1.729, allocations: 153 kB / 0.9658 GB, free: 80.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02039/1.75, allocations: 10.37 MB / 0.976 GB, free: 70.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/1.75, allocations: 4.328 kB / 0.976 GB, free: 70.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01635/1.766, allocations: 7.168 MB / 0.983 GB, free: 63.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/1.771, allocations: 0.5163 MB / 0.9835 GB, free: 62.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.785, allocations: 10.59 MB / 0.9938 GB, free: 52.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/1.788, allocations: 3.226 MB / 0.997 GB, free: 48.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001196/1.789, allocations: 395.3 kB / 0.9973 GB, free: 48.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.789, allocations: 95.44 kB / 0.9974 GB, free: 48.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/1.789, allocations: 0 / 0.9974 GB, free: 48.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.4497/2.239, allocations: 86.28 MB / 1.082 GB, free: 201.7 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)