Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 97.2 kB / 15.69 MB, free: 480 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.002165/0.002165, allocations: 176.9 kB / 16.57 MB, free: 6.398 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.523/1.523, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7009/0.7009, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 12 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 77.15 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02812/0.1914, allocations: 26.64 MB / 0.5829 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3374/0.5288, allocations: 12.57 MB / 0.5951 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.533, allocations: 119.2 kB / 0.5953 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.5358, allocations: 0.6268 MB / 0.5959 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008669/0.5445, allocations: 2.118 MB / 0.5979 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.5498, allocations: 1.217 MB / 0.5991 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.5604, allocations: 4.024 MB / 0.6031 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.5777, allocations: 8.532 MB / 0.6114 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008361/0.5861, allocations: 2.3 MB / 0.6136 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007868/0.594, allocations: 2.046 MB / 0.6156 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.5959, allocations: 243.4 kB / 0.6159 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/0.6006, allocations: 0.5895 MB / 0.6164 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.6034, allocations: 1.756 MB / 0.6182 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.6058, allocations: 0.9814 MB / 0.6191 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008146/0.614, allocations: 7.614 MB / 0.6266 GB, free: 1.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.614, allocations: 0 / 0.6266 GB, free: 1.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.614, allocations: 0 / 0.6266 GB, free: 1.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.6143, allocations: 0 / 0.6266 GB, free: 1.352 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01007/0.6243, allocations: 4.178 MB / 0.6306 GB, free: 14.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6244, allocations: 14.34 kB / 0.6306 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/0.6313, allocations: 0.9698 MB / 0.6316 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009467/0.6408, allocations: 2.818 MB / 0.6343 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.6412, allocations: 316.5 kB / 0.6346 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.6431, allocations: 419.9 kB / 0.635 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.6577, allocations: 6.721 MB / 0.6416 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.6578, allocations: 23.77 kB / 0.6416 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/0.6583, allocations: 187.9 kB / 0.6418 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000897/0.6592, allocations: 372 kB / 0.6422 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.6694, allocations: 5.083 MB / 0.6471 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03686/0.7063, allocations: 30.77 MB / 0.6772 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.7084, allocations: 1.379 MB / 0.6785 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.238e-05/0.7085, allocations: 17.3 kB / 0.6785 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.7085, allocations: 51.88 kB / 0.6786 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 2.885e-06/0.7085, allocations: 7.875 kB / 0.6786 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=199): time 0.0836/0.7921, allocations: 22.78 MB / 0.7008 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.7922, allocations: 73.41 kB / 0.7009 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.7951, allocations: 2.039 MB / 0.7029 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.7953, allocations: 65.7 kB / 0.703 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.7969, allocations: 2.01 MB / 0.7049 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007272/0.7976, allocations: 0.6778 MB / 0.7056 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.7978, allocations: 44 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.798, allocations: 398.6 kB / 0.706 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.8, allocations: 1.422 MB / 0.7074 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/0.8024, allocations: 2.002 MB / 0.7094 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.8047, allocations: 1.724 MB / 0.711 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.8047, allocations: 7.781 kB / 0.7111 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01081/0.8155, allocations: 5.627 MB / 0.7165 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.8156, allocations: 12 kB / 0.7166 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.8156, allocations: 23.94 kB / 0.7166 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/0.8223, allocations: 2.083 MB / 0.7186 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.824, allocations: 379.4 kB / 0.719 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03807/0.8621, allocations: 36.26 MB / 0.7544 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.8652, allocations: 123.9 kB / 0.7545 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.8655, allocations: 99.98 kB / 0.7546 GB, free: 10 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003571/0.8691, allocations: 1.508 MB / 0.7561 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007242/0.8698, allocations: 284.6 kB / 0.7563 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.8801, allocations: 5.192 MB / 0.7614 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.8801, allocations: 23.94 kB / 0.7614 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.211e-05/0.8802, allocations: 20 kB / 0.7615 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.8802, allocations: 7.969 kB / 0.7615 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.8995, allocations: 9.65 MB / 0.7709 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.8995, allocations: 11.94 kB / 0.7709 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.9004, allocations: 215.5 kB / 0.7711 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/0.9061, allocations: 1.847 MB / 0.7729 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.9063, allocations: 43.95 kB / 0.773 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03579/0.9421, allocations: 35.28 MB / 0.8074 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.9421, allocations: 11.94 kB / 0.8074 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.9528, allocations: 5.425 MB / 0.8127 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/0.9558, allocations: 0.6147 MB / 0.8133 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/0.957, allocations: 47.98 kB / 0.8134 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/0.9592, allocations: 123.8 kB / 0.8135 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.9602, allocations: 201.5 kB / 0.8137 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.9604, allocations: 56 kB / 0.8137 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002676/0.9631, allocations: 1.359 MB / 0.815 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9631, allocations: 0 / 0.815 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006239/0.9693, allocations: 1.047 MB / 0.8161 GB, free: 7.949 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000466/0.9698, allocations: 164.2 kB / 0.8162 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.9801, allocations: 6.256 MB / 0.8223 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.9801, allocations: 4 kB / 0.8223 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.3481/1.328, allocations: 4.386 MB / 0.8266 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006695/1.335, allocations: 0.8816 MB / 0.8275 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.354, allocations: 9.591 MB / 0.8369 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/1.361, allocations: 3.207 MB / 0.84 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002781/1.364, allocations: 0.5183 MB / 0.8405 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/1.364, allocations: 146.3 kB / 0.8406 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/1.364, allocations: 0 / 0.8406 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.09288/1.457, allocations: 55.55 MB / 0.8949 GB, free: 166 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)