Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001305/0.001305, allocations: 104.9 kB / 16.4 MB, free: 6.5 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.001294/0.001294, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.341/1.341, 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.7283/0.7283, allocations: 115.3 MB / 406.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 70.66 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1477, allocations: 76.18 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03916/0.1869, allocations: 37.25 MB / 0.668 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0215/0.2085, allocations: 13.7 MB / 0.6813 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.2115, allocations: 111.6 kB / 0.6814 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.2172, allocations: 2.275 MB / 0.6837 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.2207, allocations: 1.439 MB / 0.6851 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008079/0.2288, allocations: 3.516 MB / 0.6885 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006983/0.2358, allocations: 6.391 MB / 0.6948 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.2474, allocations: 9.877 MB / 0.7044 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.2515, allocations: 2.766 MB / 0.7071 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004707/0.2562, allocations: 3.202 MB / 0.7102 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.2578, allocations: 0.6211 MB / 0.7108 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.2606, allocations: 1.256 MB / 0.7121 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002897/0.2635, allocations: 2.48 MB / 0.7145 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003464/0.267, allocations: 2.545 MB / 0.717 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009226/0.2762, allocations: 9.171 MB / 0.7259 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.2763, allocations: 4 kB / 0.7259 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2763, allocations: 0 / 0.7259 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002383/0.2765, allocations: 0 / 0.7259 GB, free: 4.055 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01112/0.2876, allocations: 4.303 MB / 0.7301 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.2877, allocations: 11.97 kB / 0.7301 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001751/0.2895, allocations: 0.6443 MB / 0.7308 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/0.2946, allocations: 1.034 MB / 0.7318 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/0.3006, allocations: 2.226 MB / 0.734 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.3009, allocations: 329 kB / 0.7343 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.3021, allocations: 428.2 kB / 0.7347 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.3167, allocations: 7.404 MB / 0.7419 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.3168, allocations: 11.94 kB / 0.7419 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008468/0.3177, allocations: 184 kB / 0.7421 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003331/0.318, allocations: 282.9 kB / 0.7424 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2937/0.6118, allocations: 6.019 MB / 0.7482 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03377/0.6456, allocations: 32.45 MB / 0.7799 GB, free: 74.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.6487, allocations: 2.148 MB / 0.782 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.6502, allocations: 1.255 MB / 0.7832 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.6503, allocations: 97.41 kB / 0.7833 GB, free: 72.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.6504, allocations: 51.41 kB / 0.7834 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 3.276e-06/0.6504, allocations: 6.5 kB / 0.7834 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101): time 0.006247/0.6566, allocations: 5.266 MB / 0.7885 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.6567, allocations: 140.3 kB / 0.7887 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.6583, allocations: 1.474 MB / 0.7901 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/0.6584, allocations: 49.33 kB / 0.7902 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.659, allocations: 1.863 MB / 0.792 GB, free: 66.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.6592, allocations: 367.7 kB / 0.7923 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.6598, allocations: 464 kB / 0.7928 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.6598, allocations: 312.8 kB / 0.7931 GB, free: 65.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.6612, allocations: 1.144 MB / 0.7942 GB, free: 65.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.6629, allocations: 2.216 MB / 0.7964 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.6659, allocations: 3.438 MB / 0.7997 GB, free: 59.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.6659, allocations: 8 kB / 0.7997 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004082/0.67, allocations: 3.371 MB / 0.803 GB, free: 55.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.67, allocations: 20 kB / 0.803 GB, free: 55.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.6701, allocations: 34.72 kB / 0.8031 GB, free: 55.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.6701, allocations: 48 kB / 0.8031 GB, free: 55.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.6721, allocations: 0.6317 MB / 0.8037 GB, free: 54.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.588e-05/0.6721, allocations: 60.02 kB / 0.8038 GB, free: 54.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.674, allocations: 334.6 kB / 0.8041 GB, free: 54.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.6741, allocations: 116 kB / 0.8042 GB, free: 54.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002757/0.6769, allocations: 2.436 MB / 0.8066 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001486/0.6784, allocations: 2.043 MB / 0.8086 GB, free: 49.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002523/0.6809, allocations: 3.068 MB / 0.8116 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.196e-05/0.681, allocations: 16 kB / 0.8116 GB, free: 45.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003726/0.6847, allocations: 2.98 MB / 0.8145 GB, free: 42.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6847, allocations: 20 kB / 0.8145 GB, free: 42.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.6848, allocations: 39.94 kB / 0.8146 GB, free: 42.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.6848, allocations: 48 kB / 0.8146 GB, free: 42.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6864, allocations: 0.5576 MB / 0.8152 GB, free: 42.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.432e-05/0.6865, allocations: 71.72 kB / 0.8152 GB, free: 42.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.6882, allocations: 271 kB / 0.8155 GB, free: 41.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6883, allocations: 116 kB / 0.8156 GB, free: 41.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004249/0.6887, allocations: 339.2 kB / 0.8159 GB, free: 41.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.689, allocations: 154.1 kB / 0.8161 GB, free: 41.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.6916, allocations: 2.242 MB / 0.8183 GB, free: 38.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6916, allocations: 15.98 kB / 0.8183 GB, free: 38.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6916, allocations: 0 / 0.8183 GB, free: 38.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6917, allocations: 7.922 kB / 0.8183 GB, free: 38.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.703, allocations: 10.99 MB / 0.829 GB, free: 27.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.703, allocations: 12 kB / 0.829 GB, free: 27.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.7043, allocations: 380.2 kB / 0.8294 GB, free: 27.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.7043, allocations: 23.88 kB / 0.8294 GB, free: 27.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.7044, allocations: 32 kB / 0.8294 GB, free: 27.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.7044, allocations: 27.77 kB / 0.8295 GB, free: 27.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7044, allocations: 24 kB / 0.8295 GB, free: 27.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.7068, allocations: 2.755 MB / 0.8322 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.7076, allocations: 458.8 kB / 0.8326 GB, free: 23.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.7079, allocations: 43.84 kB / 0.8327 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.709, allocations: 173.4 kB / 0.8328 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7092, allocations: 96.22 kB / 0.8329 GB, free: 23.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.7093, allocations: 40 kB / 0.8329 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00113/0.7104, allocations: 1.009 MB / 0.8339 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7104, allocations: 0 / 0.8339 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003189/0.7136, allocations: 1.129 MB / 0.835 GB, free: 21.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002617/0.7162, allocations: 3.344 MB / 0.8383 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00507/0.7213, allocations: 4.066 MB / 0.8423 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.7213, allocations: 4.438 kB / 0.8423 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.7224, allocations: 1.055 MB / 0.8433 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.7246, allocations: 444.9 kB / 0.8437 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/0.7511, allocations: 21.82 MB / 0.865 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.7538, allocations: 2.868 MB / 0.8678 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002649/0.7565, allocations: 1.226 MB / 0.869 GB, free: 1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.7581, allocations: 1.274 MB / 0.8703 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.7581, allocations: 0 / 0.8703 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07391/0.832, allocations: 47.87 MB / 0.917 GB, free: 252 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.24, allocations: 13.91 kB / 0.917 GB, free: 244 kB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)