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.001338/0.001338, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.001281/0.001281, allocations: 193.9 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7864/0.7864, allocations: 126.1 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.4945 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 78.7 MB / 0.5713 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02241/0.3853, allocations: 23.2 MB / 0.594 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3966, allocations: 6.445 MB / 0.6003 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003999/0.4006, allocations: 83.5 kB / 0.6004 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.4049, allocations: 1.352 MB / 0.6017 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.4104, allocations: 1.71 MB / 0.6034 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.4145, allocations: 1.341 MB / 0.6047 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007519/0.4221, allocations: 6.936 MB / 0.6114 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/0.4345, allocations: 8.135 MB / 0.6194 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.4394, allocations: 2.882 MB / 0.6222 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.4458, allocations: 3.689 MB / 0.6258 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.4474, allocations: 0.5312 MB / 0.6263 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.4504, allocations: 1.178 MB / 0.6275 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002765/0.4532, allocations: 2.468 MB / 0.6299 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.4572, allocations: 2.536 MB / 0.6324 GB, free: 8.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009848/0.4671, allocations: 8.522 MB / 0.6407 GB, free: 15.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4671, allocations: 0 / 0.6407 GB, free: 15.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4672, allocations: 0 / 0.6407 GB, free: 15.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002501/0.4674, allocations: 4 kB / 0.6407 GB, free: 15.63 MB / 494.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.009695/0.4771, allocations: 4.428 MB / 0.645 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4772, allocations: 16.03 kB / 0.645 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.4856, allocations: 1.681 MB / 0.6467 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.4908, allocations: 2.567 MB / 0.6492 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.491, allocations: 275.7 kB / 0.6494 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009316/0.4919, allocations: 360.3 kB / 0.6498 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.5055, allocations: 7.479 MB / 0.6571 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.5057, allocations: 23.88 kB / 0.6571 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009543/0.5067, allocations: 159.9 kB / 0.6573 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006507/0.5073, allocations: 487.3 kB / 0.6577 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.518, allocations: 5.697 MB / 0.6633 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03986/0.5579, allocations: 31.72 MB / 0.6943 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.5611, allocations: 2.09 MB / 0.6963 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.5641, allocations: 2.178 MB / 0.6984 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.5644, allocations: 13.31 kB / 0.6984 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5644, allocations: 51.8 kB / 0.6985 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/0.5644, allocations: 4 kB / 0.6985 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5795/1.144, allocations: 77 MB / 0.7737 GB, free: 148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/1.144, allocations: 81.34 kB / 0.7738 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/1.146, allocations: 1.662 MB / 0.7754 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005296/1.147, allocations: 69.7 kB / 0.7755 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/1.148, allocations: 1.742 MB / 0.7772 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009333/1.149, allocations: 0.8571 MB / 0.778 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009589/1.15, allocations: 485.2 kB / 0.7785 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/1.15, allocations: 305.1 kB / 0.7787 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.153, allocations: 2.73 MB / 0.7814 GB, free: 140 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/1.156, allocations: 3.328 MB / 0.7847 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006427/1.162, allocations: 6.391 MB / 0.7909 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.162, allocations: 11.94 kB / 0.7909 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02741/1.19, allocations: 14.68 MB / 0.8052 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/1.19, allocations: 12 kB / 0.8053 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.19, allocations: 16 kB / 0.8053 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02621/1.216, allocations: 9.299 MB / 0.8144 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.217, allocations: 303 kB / 0.8146 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06749/1.285, allocations: 52.37 MB / 0.8658 GB, free: 52.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/1.288, allocations: 227.6 kB / 0.866 GB, free: 52.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.289, allocations: 100 kB / 0.8661 GB, free: 51.93 MB / 0.5762 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.003155/1.292, allocations: 1.587 MB / 0.8677 GB, free: 50.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000839/1.293, allocations: 241.1 kB / 0.8679 GB, free: 50.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02789/1.321, allocations: 14.77 MB / 0.8823 GB, free: 35.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.321, allocations: 24 kB / 0.8823 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001465/1.321, allocations: 47.94 kB / 0.8824 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/1.321, allocations: 11.95 kB / 0.8824 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03768/1.359, allocations: 20.52 MB / 0.9024 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/1.359, allocations: 12.19 kB / 0.9024 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/1.36, allocations: 159.7 kB / 0.9026 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/1.386, allocations: 9.07 MB / 0.9114 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004851/1.387, allocations: 44 kB / 0.9115 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08217/1.469, allocations: 51.94 MB / 0.9622 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.469, allocations: 11.94 kB / 0.9622 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03274/1.502, allocations: 14.36 MB / 0.9762 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/1.504, allocations: 0.8454 MB / 0.9771 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009015/1.505, allocations: 59.91 kB / 0.9771 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.508, allocations: 203.6 kB / 0.9773 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001579/1.509, allocations: 245.5 kB / 0.9776 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/1.51, allocations: 67.98 kB / 0.9776 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002213/1.512, allocations: 1.117 MB / 0.9787 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.8e-07/1.512, allocations: 4 kB / 0.9787 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006726/1.519, allocations: 1.609 MB / 0.9803 GB, free: 13.74 MB / 0.6544 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.0006706/1.519, allocations: 167 kB / 0.9804 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.3049/1.824, allocations: 11.34 MB / 0.9915 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.824, allocations: 0.7188 kB / 0.9915 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01834/1.843, allocations: 7.301 MB / 0.9986 GB, free: 219.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.846, allocations: 0.5545 MB / 0.9992 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.862, allocations: 10.61 MB / 1.01 GB, free: 214.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004204/1.866, allocations: 3.228 MB / 1.013 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001417/1.867, allocations: 386.9 kB / 1.013 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/1.868, allocations: 99.94 kB / 1.013 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.173e-06/1.868, allocations: 0 / 1.013 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.1181/1.986, allocations: 93.06 MB / 1.104 GB, free: 133.6 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)