Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001134/0.001134, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002325/0.002325, allocations: 278.6 kB / 290.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 94.88 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03235/0.1786, allocations: 32.29 MB / 0.7113 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.1938, allocations: 10.18 MB / 0.7212 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.1963, allocations: 139.2 kB / 0.7213 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008638/0.205, allocations: 3.486 MB / 0.7248 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.21, allocations: 1.712 MB / 0.7264 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.2149, allocations: 1.945 MB / 0.7283 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007883/0.2228, allocations: 7.356 MB / 0.7355 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01661/0.2395, allocations: 11.59 MB / 0.7468 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.2446, allocations: 3.216 MB / 0.75 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/0.2501, allocations: 3.657 MB / 0.7535 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.2519, allocations: 0.6445 MB / 0.7542 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.2563, allocations: 1.775 MB / 0.7559 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.2602, allocations: 2.55 MB / 0.7584 GB, free: 156 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00583/0.266, allocations: 2.891 MB / 0.7612 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.2788, allocations: 10.14 MB / 0.7711 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2788, allocations: 0 / 0.7711 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2788, allocations: 4 kB / 0.7711 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002765/0.2791, allocations: 0 / 0.7711 GB, free: 3.074 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2838/0.5629, allocations: 4.995 MB / 0.776 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.563, allocations: 11.06 kB / 0.776 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001396/0.5644, allocations: 0.6829 MB / 0.7767 GB, free: 86.65 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.5701, allocations: 0.9511 MB / 0.7776 GB, free: 86.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.5757, allocations: 2.861 MB / 0.7804 GB, free: 84.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.5761, allocations: 349.2 kB / 0.7807 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.5772, allocations: 467.1 kB / 0.7812 GB, free: 84.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.5915, allocations: 7.665 MB / 0.7887 GB, free: 81.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.5916, allocations: 29.28 kB / 0.7887 GB, free: 81.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.5921, allocations: 200.3 kB / 0.7889 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/0.5924, allocations: 314.2 kB / 0.7892 GB, free: 81.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009324/0.6018, allocations: 5.709 MB / 0.7948 GB, free: 79.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/0.6315, allocations: 35.1 MB / 0.829 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.6335, allocations: 2.151 MB / 0.8311 GB, free: 45.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.6346, allocations: 1.258 MB / 0.8324 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.6347, allocations: 17.12 kB / 0.8324 GB, free: 44.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6347, allocations: 47.78 kB / 0.8324 GB, free: 44.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.086e-06/0.6347, allocations: 0 / 0.8324 GB, free: 44.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01137/0.6461, allocations: 7.094 MB / 0.8394 GB, free: 39.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.6462, allocations: 68.66 kB / 0.8394 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.6475, allocations: 1.484 MB / 0.8409 GB, free: 37.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6476, allocations: 45.7 kB / 0.8409 GB, free: 37.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/0.6483, allocations: 2.003 MB / 0.8429 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.6486, allocations: 488.3 kB / 0.8433 GB, free: 35.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.649, allocations: 355.8 kB / 0.8437 GB, free: 35.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.6491, allocations: 305.1 kB / 0.844 GB, free: 34.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.65, allocations: 0.9096 MB / 0.8449 GB, free: 33.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.6512, allocations: 1.593 MB / 0.8464 GB, free: 31.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.6535, allocations: 2.741 MB / 0.8491 GB, free: 28.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6535, allocations: 4 kB / 0.8491 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004692/0.6582, allocations: 3.526 MB / 0.8525 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.6583, allocations: 16 kB / 0.8525 GB, free: 25.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.6583, allocations: 24 kB / 0.8526 GB, free: 25.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/0.6605, allocations: 0.9116 MB / 0.8535 GB, free: 24.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/0.6615, allocations: 343.4 kB / 0.8538 GB, free: 23.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.6764, allocations: 23.12 MB / 0.8764 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.6781, allocations: 112 kB / 0.8765 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.6783, allocations: 83.38 kB / 0.8765 GB, free: 15.01 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002462/0.6807, allocations: 1.62 MB / 0.8781 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.6811, allocations: 205.5 kB / 0.8783 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.686, allocations: 2.99 MB / 0.8812 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.686, allocations: 12 kB / 0.8813 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.6861, allocations: 12 kB / 0.8813 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.6861, allocations: 7.969 kB / 0.8813 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.6987, allocations: 7.346 MB / 0.8884 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6987, allocations: 4 kB / 0.8885 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/0.6995, allocations: 183.8 kB / 0.8886 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/0.7019, allocations: 0.8179 MB / 0.8894 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/0.702, allocations: 24 kB / 0.8895 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/0.7212, allocations: 21.96 MB / 0.9109 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7212, allocations: 12 kB / 0.9109 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.7263, allocations: 3.015 MB / 0.9139 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/0.7273, allocations: 458.8 kB / 0.9143 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.7277, allocations: 39.92 kB / 0.9143 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/0.7287, allocations: 71.91 kB / 0.9144 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.7291, allocations: 128.7 kB / 0.9145 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.7291, allocations: 36 kB / 0.9146 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001431/0.7306, allocations: 0.9795 MB / 0.9155 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7306, allocations: 4 kB / 0.9155 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002756/0.7334, allocations: 0.7852 MB / 0.9163 GB, free: 4.18 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005231/0.7386, allocations: 3.606 MB / 0.9198 GB, free: 460 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006944/0.7456, allocations: 4.66 MB / 0.9244 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7456, allocations: 0 / 0.9244 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/0.7492, allocations: 2.735 MB / 0.927 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.7529, allocations: 0.728 MB / 0.9277 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/0.7951, allocations: 25.75 MB / 0.9529 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/0.7996, allocations: 3.115 MB / 0.9559 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001483/0.8011, allocations: 457.9 kB / 0.9564 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/0.803, allocations: 1.534 MB / 0.9579 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of SimCode: time 1.432e-06/0.803, allocations: 0 / 0.9579 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.9125, allocations: 60.45 MB / 1.017 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.9127, allocations: 263.3 kB / 1.017 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.938, allocations: 0 / 1.017 GB, free: 11.52 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)