Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.001219/0.001219, allocations: 103 kB / 16.4 MB, free: 6.445 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.001182/0.001182, allocations: 196 kB / 17.34 MB, free: 5.719 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.236/1.236, 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.6931/0.6931, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 69.78 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0217/0.1416, allocations: 20.4 MB / 0.6515 GB, free: 456 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1537, allocations: 7.697 MB / 0.659 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.1551, allocations: 59.81 kB / 0.6591 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.1588, allocations: 1.36 MB / 0.6604 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.1612, allocations: 1.019 MB / 0.6614 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.1658, allocations: 1.996 MB / 0.6634 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004594/0.1704, allocations: 4.327 MB / 0.6676 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007633/0.1781, allocations: 6.164 MB / 0.6736 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.1804, allocations: 1.866 MB / 0.6754 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.1836, allocations: 2.193 MB / 0.6776 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008952/0.1845, allocations: 428 kB / 0.678 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.1863, allocations: 0.9518 MB / 0.6789 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.1881, allocations: 1.649 MB / 0.6805 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.1904, allocations: 1.72 MB / 0.6822 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.1957, allocations: 6.183 MB / 0.6882 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1958, allocations: 4 kB / 0.6882 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1958, allocations: 0 / 0.6882 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.269e-05/0.1959, allocations: 0 / 0.6882 GB, free: 10.7 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005091/0.201, allocations: 3.059 MB / 0.6912 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.201, allocations: 12.03 kB / 0.6912 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004853/0.2015, allocations: 446 kB / 0.6917 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.2048, allocations: 0.7468 MB / 0.6924 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.2071, allocations: 1.563 MB / 0.6939 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2073, allocations: 218.1 kB / 0.6941 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.2077, allocations: 284.4 kB / 0.6944 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006975/0.2147, allocations: 5.086 MB / 0.6994 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.829e-05/0.2148, allocations: 7.844 kB / 0.6994 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.215, allocations: 124 kB / 0.6995 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.2152, allocations: 204.6 kB / 0.6997 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006178/0.2214, allocations: 4.227 MB / 0.7038 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.2437, allocations: 22.92 MB / 0.7262 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.2463, allocations: 1.743 MB / 0.7279 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.2478, allocations: 1.145 MB / 0.729 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.2481, allocations: 105.7 kB / 0.7291 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2481, allocations: 47.22 kB / 0.7292 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 3.696e-06/0.2481, allocations: 0 / 0.7292 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.005678/0.2538, allocations: 4.012 MB / 0.7331 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.2539, allocations: 145.1 kB / 0.7332 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2549, allocations: 0.8643 MB / 0.7341 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.255, allocations: 37.7 kB / 0.7341 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.2556, allocations: 1.166 MB / 0.7352 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.2559, allocations: 311.7 kB / 0.7355 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/0.2563, allocations: 270.5 kB / 0.7358 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2565, allocations: 410.7 kB / 0.7362 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.2578, allocations: 0.8257 MB / 0.737 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.2593, allocations: 1.31 MB / 0.7383 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.2619, allocations: 2.163 MB / 0.7404 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2619, allocations: 4 kB / 0.7404 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003223/0.2652, allocations: 2.21 MB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2652, allocations: 15.94 kB / 0.7426 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.2652, allocations: 16 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.2653, allocations: 20 kB / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.2668, allocations: 419.9 kB / 0.743 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.827e-05/0.2669, allocations: 27.94 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.268, allocations: 211.2 kB / 0.7432 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2681, allocations: 64.12 kB / 0.7433 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002289/0.2704, allocations: 1.677 MB / 0.7449 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/0.2717, allocations: 1.194 MB / 0.7461 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002287/0.274, allocations: 1.913 MB / 0.748 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.274, allocations: 4 kB / 0.748 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002794/0.2768, allocations: 1.933 MB / 0.7498 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2768, allocations: 17.62 kB / 0.7499 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2769, allocations: 12 kB / 0.7499 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2769, allocations: 24 kB / 0.7499 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2781, allocations: 359.4 kB / 0.7502 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.2781, allocations: 35.86 kB / 0.7503 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.2793, allocations: 175.3 kB / 0.7504 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.2794, allocations: 63.98 kB / 0.7505 GB, free: 7.379 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0002728/0.2796, allocations: 263.8 kB / 0.7508 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.2798, allocations: 98.78 kB / 0.7508 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.2825, allocations: 1.846 MB / 0.7527 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.2825, allocations: 12 kB / 0.7527 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2826, allocations: 7.938 kB / 0.7527 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2826, allocations: 4.172 kB / 0.7527 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2848/0.5674, allocations: 9.58 MB / 0.762 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.5674, allocations: 14.36 kB / 0.762 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.5686, allocations: 310.6 kB / 0.7623 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.5687, allocations: 15.75 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.5688, allocations: 30.09 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.067e-05/0.5688, allocations: 28.61 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.5688, allocations: 17 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.5714, allocations: 2.401 MB / 0.7648 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.572, allocations: 369 kB / 0.7651 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5721, allocations: 40.36 kB / 0.7652 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/0.573, allocations: 147.2 kB / 0.7653 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5732, allocations: 94 kB / 0.7654 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.5733, allocations: 37.19 kB / 0.7654 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008216/0.5741, allocations: 0.6136 MB / 0.766 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5741, allocations: 0 / 0.766 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002329/0.5765, allocations: 0.7512 MB / 0.7668 GB, free: 113 MB / 0.5919 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 (90): * Single equations (assignments): 90 * 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.003182/0.5796, allocations: 2.989 MB / 0.7697 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00442/0.5841, allocations: 2.898 MB / 0.7725 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.5841, allocations: 1.531 kB / 0.7725 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5852, allocations: 0.9208 MB / 0.7734 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5867, allocations: 300.3 kB / 0.7737 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.6017, allocations: 15.24 MB / 0.7886 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.603, allocations: 2.124 MB / 0.7906 GB, free: 100 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00137/0.6044, allocations: 0.7492 MB / 0.7914 GB, free: 99.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008385/0.6053, allocations: 0.8273 MB / 0.7922 GB, free: 98.43 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6053, allocations: 0 / 0.7922 GB, free: 98.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.6461, allocations: 32.84 MB / 0.8243 GB, free: 65.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.105, allocations: 7.938 kB / 0.8243 GB, free: 65.96 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)