Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001133, allocations: 107.6 kB / 16.4 MB, free: 6.508 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.001189/0.001189, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8001/0.8001, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.17 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03645/0.1724, allocations: 35.11 MB / 0.6664 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.1901, allocations: 9.941 MB / 0.6761 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.1938, allocations: 151.2 kB / 0.6762 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009323/0.2032, allocations: 3.811 MB / 0.6799 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.2105, allocations: 2.149 MB / 0.682 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.2159, allocations: 1.962 MB / 0.684 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.2264, allocations: 7.975 MB / 0.6917 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.2411, allocations: 9.522 MB / 0.701 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008081/0.2492, allocations: 3.424 MB / 0.7044 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008567/0.2578, allocations: 3.738 MB / 0.708 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002859/0.2607, allocations: 0.6797 MB / 0.7087 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/0.2658, allocations: 1.447 MB / 0.7101 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005231/0.2711, allocations: 2.616 MB / 0.7127 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008064/0.2792, allocations: 3.104 MB / 0.7157 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.2911, allocations: 10.38 MB / 0.7258 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2912, allocations: 0 / 0.7258 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2912, allocations: 0 / 0.7258 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002907/0.2915, allocations: 0 / 0.7258 GB, free: 4.008 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01171/0.3032, allocations: 5.405 MB / 0.7311 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3033, allocations: 8.031 kB / 0.7311 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.308, allocations: 0.9626 MB / 0.7321 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.3141, allocations: 3.182 MB / 0.7352 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.3143, allocations: 361.9 kB / 0.7355 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.3152, allocations: 464.3 kB / 0.736 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.3317, allocations: 7.914 MB / 0.7437 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.3319, allocations: 19.81 kB / 0.7437 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000909/0.3328, allocations: 212 kB / 0.7439 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/0.3334, allocations: 369.1 kB / 0.7443 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4521/0.7855, allocations: 5.928 MB / 0.7501 GB, free: 97.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.8328, allocations: 35.95 MB / 0.7852 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.8369, allocations: 2.148 MB / 0.7873 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.8389, allocations: 1.478 MB / 0.7887 GB, free: 64.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.8391, allocations: 18.59 kB / 0.7887 GB, free: 64.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.8391, allocations: 55.72 kB / 0.7888 GB, free: 64.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 5.631e-06/0.8391, allocations: 0 / 0.7888 GB, free: 64.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01521/0.8544, allocations: 7.539 MB / 0.7961 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.8545, allocations: 72.41 kB / 0.7962 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.8574, allocations: 1.861 MB / 0.798 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.8576, allocations: 53.42 kB / 0.7981 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009566/0.8585, allocations: 2.125 MB / 0.8001 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.8589, allocations: 0.562 MB / 0.8007 GB, free: 56.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/0.8595, allocations: 399.8 kB / 0.8011 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.8596, allocations: 305.1 kB / 0.8014 GB, free: 55.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.8609, allocations: 1.058 MB / 0.8024 GB, free: 54.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.8626, allocations: 1.764 MB / 0.8041 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.8656, allocations: 3.049 MB / 0.8071 GB, free: 49.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.8657, allocations: 12.81 kB / 0.8071 GB, free: 49.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005578/0.8713, allocations: 3.921 MB / 0.8109 GB, free: 45.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.8713, allocations: 16.5 kB / 0.811 GB, free: 45.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.8714, allocations: 24 kB / 0.811 GB, free: 45.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.8736, allocations: 0.9352 MB / 0.8119 GB, free: 44.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.8751, allocations: 427.2 kB / 0.8123 GB, free: 43.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.8914, allocations: 22.76 MB / 0.8345 GB, free: 19.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/0.8949, allocations: 123.9 kB / 0.8347 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000583/0.8955, allocations: 95.98 kB / 0.8347 GB, free: 19.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003515/0.899, allocations: 1.645 MB / 0.8364 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007806/0.8998, allocations: 253.1 kB / 0.8366 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005282/0.9051, allocations: 3.267 MB / 0.8398 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9052, allocations: 16 kB / 0.8398 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/0.9052, allocations: 8 kB / 0.8398 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9052, allocations: 7.969 kB / 0.8398 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.9172, allocations: 7.547 MB / 0.8472 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.9172, allocations: 8.094 kB / 0.8472 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/0.9181, allocations: 219.6 kB / 0.8474 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.9201, allocations: 0.892 MB / 0.8483 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.9202, allocations: 32 kB / 0.8483 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/0.94, allocations: 22.73 MB / 0.8705 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.9401, allocations: 7.938 kB / 0.8705 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/0.9461, allocations: 3.383 MB / 0.8738 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.9476, allocations: 0.5286 MB / 0.8743 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007526/0.9483, allocations: 32 kB / 0.8744 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9499, allocations: 95.88 kB / 0.8744 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.9504, allocations: 141 kB / 0.8746 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.9505, allocations: 44 kB / 0.8746 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002221/0.9527, allocations: 1.225 MB / 0.8758 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.934e-06/0.9527, allocations: 0 / 0.8758 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003441/0.9562, allocations: 0.9139 MB / 0.8767 GB, free: 6.234 MB / 0.6075 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/0.9566, allocations: 160.4 kB / 0.8769 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006731/0.9633, allocations: 4.429 MB / 0.8812 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.9633, allocations: 4 kB / 0.8812 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/0.9674, allocations: 2.991 MB / 0.8841 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/0.9716, allocations: 0.8206 MB / 0.8849 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.9892, allocations: 7.578 MB / 0.8923 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005303/0.9945, allocations: 3.205 MB / 0.8954 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002301/0.9969, allocations: 0.5254 MB / 0.896 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.9974, allocations: 139.4 kB / 0.8961 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of SimCode: time 1.302e-06/0.9974, allocations: 0 / 0.8961 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of Templates: time 0.0753/1.073, allocations: 41.62 MB / 0.9367 GB, free: 9.066 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)