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.001302/0.001302, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001115/0.001115, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.381/1.381, 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.7821/0.7821, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.61 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0405/0.1775, allocations: 37.26 MB / 0.6804 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.1993, allocations: 13.69 MB / 0.6938 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.2027, allocations: 115.6 kB / 0.6939 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005859/0.2087, allocations: 2.276 MB / 0.6962 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.2125, allocations: 1.455 MB / 0.6976 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008023/0.2206, allocations: 3.519 MB / 0.701 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006614/0.2272, allocations: 6.403 MB / 0.7073 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.2374, allocations: 9.886 MB / 0.7169 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.2411, allocations: 2.766 MB / 0.7196 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.2452, allocations: 3.202 MB / 0.7227 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009555/0.2462, allocations: 0.6172 MB / 0.7233 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.2484, allocations: 1.256 MB / 0.7246 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.2508, allocations: 2.476 MB / 0.727 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.2539, allocations: 2.549 MB / 0.7295 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00938/0.2633, allocations: 9.182 MB / 0.7384 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.2633, allocations: 0 / 0.7384 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2633, allocations: 7.875 kB / 0.7385 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002528/0.2636, allocations: 0 / 0.7385 GB, free: 8.504 MB / 0.5762 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.009633/0.2732, allocations: 4.406 MB / 0.7428 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2733, allocations: 12.62 kB / 0.7428 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008573/0.2742, allocations: 0.6326 MB / 0.7434 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.2789, allocations: 1.052 MB / 0.7444 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.2835, allocations: 2.242 MB / 0.7466 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2841/0.5676, allocations: 324 kB / 0.7469 GB, free: 92.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/0.5698, allocations: 424.3 kB / 0.7473 GB, free: 92.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.5868, allocations: 7.403 MB / 0.7545 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.5869, allocations: 21.08 kB / 0.7546 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005075/0.5875, allocations: 186.8 kB / 0.7547 GB, free: 89.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.5878, allocations: 286 kB / 0.755 GB, free: 89.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.6002, allocations: 6.027 MB / 0.7609 GB, free: 87.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03109/0.6313, allocations: 32.5 MB / 0.7926 GB, free: 59.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.6342, allocations: 2.14 MB / 0.7947 GB, free: 57.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.6355, allocations: 1.242 MB / 0.7959 GB, free: 56.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.6356, allocations: 109.4 kB / 0.7961 GB, free: 56.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.6357, allocations: 55.44 kB / 0.7961 GB, free: 56.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 3.246e-06/0.6357, allocations: 0 / 0.7961 GB, free: 56.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101): time 0.005954/0.6416, allocations: 5.434 MB / 0.8014 GB, free: 51.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6417, allocations: 141.5 kB / 0.8015 GB, free: 51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.6432, allocations: 1.472 MB / 0.803 GB, free: 49.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6433, allocations: 49.7 kB / 0.803 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.6439, allocations: 1.927 MB / 0.8049 GB, free: 47.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.6442, allocations: 399.4 kB / 0.8053 GB, free: 47.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.6447, allocations: 459.4 kB / 0.8057 GB, free: 46.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.6448, allocations: 301.1 kB / 0.806 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.6463, allocations: 1.153 MB / 0.8071 GB, free: 45.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.648, allocations: 2.21 MB / 0.8093 GB, free: 42.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.6512, allocations: 3.442 MB / 0.8127 GB, free: 38.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.6512, allocations: 8 kB / 0.8127 GB, free: 38.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004321/0.6556, allocations: 3.383 MB / 0.816 GB, free: 35.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.6556, allocations: 23.94 kB / 0.816 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.6556, allocations: 35.94 kB / 0.816 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.23e-05/0.6557, allocations: 48.14 kB / 0.8161 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.6578, allocations: 0.6278 MB / 0.8167 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.315e-05/0.6578, allocations: 68 kB / 0.8168 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.6599, allocations: 327 kB / 0.8171 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.6601, allocations: 124 kB / 0.8172 GB, free: 34.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003149/0.6632, allocations: 2.43 MB / 0.8196 GB, free: 31.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001564/0.6648, allocations: 2.047 MB / 0.8216 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002659/0.6675, allocations: 3.067 MB / 0.8246 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.286e-05/0.6675, allocations: 16 kB / 0.8246 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003781/0.6713, allocations: 2.989 MB / 0.8275 GB, free: 22.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6713, allocations: 20 kB / 0.8275 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.6713, allocations: 36 kB / 0.8275 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6714, allocations: 48 kB / 0.8276 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.6731, allocations: 0.5615 MB / 0.8281 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-05/0.6731, allocations: 71.72 kB / 0.8282 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.675, allocations: 267.4 kB / 0.8285 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6752, allocations: 116 kB / 0.8286 GB, free: 21.37 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.0004277/0.6756, allocations: 331.3 kB / 0.8289 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.6759, allocations: 166.9 kB / 0.829 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/0.6785, allocations: 2.246 MB / 0.8312 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6785, allocations: 12 kB / 0.8312 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6786, allocations: 0 / 0.8312 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.6786, allocations: 7.984 kB / 0.8313 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.6899, allocations: 11 MB / 0.842 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.6899, allocations: 8 kB / 0.842 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.6913, allocations: 384.2 kB / 0.8424 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.6913, allocations: 16 kB / 0.8424 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.6914, allocations: 39.98 kB / 0.8424 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.6914, allocations: 27.86 kB / 0.8425 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.6915, allocations: 15.94 kB / 0.8425 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.6939, allocations: 2.764 MB / 0.8452 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/0.6946, allocations: 467.7 kB / 0.8456 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.6949, allocations: 43.86 kB / 0.8457 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6961, allocations: 171.7 kB / 0.8458 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.6962, allocations: 96.17 kB / 0.8459 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.6963, allocations: 43.98 kB / 0.846 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001167/0.6975, allocations: 1.013 MB / 0.8469 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6975, allocations: 0 / 0.8469 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003343/0.7008, allocations: 1.133 MB / 0.8481 GB, free: 0.9922 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.003358/0.7042, allocations: 3.356 MB / 0.8513 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006058/0.7103, allocations: 4.067 MB / 0.8553 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.7103, allocations: 4.438 kB / 0.8553 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.7118, allocations: 1.059 MB / 0.8563 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.7143, allocations: 448.6 kB / 0.8568 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/0.7456, allocations: 21.92 MB / 0.8782 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/0.7485, allocations: 2.872 MB / 0.881 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002884/0.7514, allocations: 1.223 MB / 0.8822 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.7532, allocations: 1.269 MB / 0.8834 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.7532, allocations: 0 / 0.8834 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/0.8289, allocations: 47.73 MB / 0.93 GB, free: 11.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.4, allocations: 6.797 kB / 0.93 GB, free: 11.84 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)