Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001503/0.001503, allocations: 101.4 kB / 16.4 MB, free: 6.484 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.001409/0.001409, allocations: 195.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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.59 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 76.18 MB / 0.6316 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01769/0.1572, allocations: 15.98 MB / 0.6472 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008142/0.1654, allocations: 4.836 MB / 0.6519 GB, free: 148 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.1668, allocations: 63.69 kB / 0.652 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.1698, allocations: 1.036 MB / 0.653 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.1719, allocations: 0.7542 MB / 0.6537 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.1746, allocations: 0.9058 MB / 0.6546 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.1791, allocations: 3.622 MB / 0.6582 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006179/0.1853, allocations: 4.765 MB / 0.6628 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.1879, allocations: 1.589 MB / 0.6644 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.1908, allocations: 1.784 MB / 0.6661 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009649/0.1918, allocations: 340 kB / 0.6664 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.1939, allocations: 0.7958 MB / 0.6672 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.1956, allocations: 1.326 MB / 0.6685 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.1981, allocations: 1.455 MB / 0.6699 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.2038, allocations: 5.13 MB / 0.6749 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2038, allocations: 0 / 0.6749 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2038, allocations: 0 / 0.6749 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001522/0.204, allocations: 0 / 0.6749 GB, free: 8.473 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006418/0.2104, allocations: 2.662 MB / 0.6775 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2105, allocations: 12.03 kB / 0.6775 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008915/0.2114, allocations: 374.5 kB / 0.6779 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.2155, allocations: 0.8251 MB / 0.6787 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.2193, allocations: 1.579 MB / 0.6802 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.2195, allocations: 177.1 kB / 0.6804 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.2201, allocations: 228.4 kB / 0.6806 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007903/0.2281, allocations: 4.161 MB / 0.6847 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.285e-05/0.2282, allocations: 7.875 kB / 0.6847 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.2286, allocations: 104 kB / 0.6848 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/0.2288, allocations: 168.5 kB / 0.685 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.2351, allocations: 3.628 MB / 0.6885 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.2565, allocations: 16.43 MB / 0.7045 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.26, allocations: 2.293 MB / 0.7068 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/0.2609, allocations: 0.5882 MB / 0.7074 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.2611, allocations: 93.66 kB / 0.7074 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2611, allocations: 43.12 kB / 0.7075 GB, free: 5.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/0.2611, allocations: 0 / 0.7075 GB, free: 5.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005683/0.2668, allocations: 3.436 MB / 0.7108 GB, free: 1.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.2669, allocations: 115.4 kB / 0.711 GB, free: 1.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2682, allocations: 1.018 MB / 0.7119 GB, free: 464 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.2683, allocations: 41.7 kB / 0.712 GB, free: 416 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.269, allocations: 1.095 MB / 0.7131 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.2692, allocations: 276.2 kB / 0.7133 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.2696, allocations: 279.2 kB / 0.7136 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2698, allocations: 422.7 kB / 0.714 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008935/0.2707, allocations: 0.6128 MB / 0.7146 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2719, allocations: 1.182 MB / 0.7157 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.2741, allocations: 1.868 MB / 0.7176 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.2741, allocations: 8 kB / 0.7176 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003154/0.2773, allocations: 2.023 MB / 0.7196 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2773, allocations: 12 kB / 0.7196 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.2773, allocations: 20 kB / 0.7196 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.2778, allocations: 159.3 kB / 0.7197 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.2789, allocations: 351.3 kB / 0.7201 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.884e-05/0.2789, allocations: 39.86 kB / 0.7201 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/0.2799, allocations: 123.7 kB / 0.7202 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.28, allocations: 75.92 kB / 0.7203 GB, free: 7.293 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001345/0.2814, allocations: 0.9733 MB / 0.7212 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.2817, allocations: 110.7 kB / 0.7214 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.2838, allocations: 1.23 MB / 0.7226 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.2838, allocations: 8 kB / 0.7226 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.2838, allocations: 4 kB / 0.7226 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2839, allocations: 3.984 kB / 0.7226 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006761/0.2906, allocations: 3.798 MB / 0.7263 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.2907, allocations: 4.25 kB / 0.7263 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.2913, allocations: 159.8 kB / 0.7264 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.2917, allocations: 135.3 kB / 0.7266 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.2918, allocations: 20 kB / 0.7266 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.2918, allocations: 11.88 kB / 0.7266 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2918, allocations: 4 kB / 0.7266 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2938, allocations: 1.469 MB / 0.728 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.2944, allocations: 271.7 kB / 0.7283 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.2946, allocations: 12 kB / 0.7283 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.2952, allocations: 71.91 kB / 0.7284 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.2954, allocations: 56.42 kB / 0.7284 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.2954, allocations: 24 kB / 0.7284 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009739/0.2964, allocations: 0.6991 MB / 0.7291 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2964, allocations: 0 / 0.7291 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001553/0.298, allocations: 388 kB / 0.7295 GB, free: 13.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002436/0.3004, allocations: 2.034 MB / 0.7315 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00279/0.3032, allocations: 1.718 MB / 0.7332 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.3033, allocations: 0.5 kB / 0.7332 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3043, allocations: 0.8658 MB / 0.734 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.3059, allocations: 265.8 kB / 0.7343 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/0.3262, allocations: 12.85 MB / 0.7468 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.3283, allocations: 1.92 MB / 0.7487 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001101/0.3294, allocations: 445.4 kB / 0.7491 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00094/0.3304, allocations: 0.7141 MB / 0.7498 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.3304, allocations: 0 / 0.7498 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3675/0.6979, allocations: 28 MB / 0.7772 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.44, allocations: 11.09 kB / 0.7772 GB, free: 116.8 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)