Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.0007568/0.0007568, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000896/0.0008958, allocations: 171.7 kB / 16.58 MB, free: 6.402 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.258/1.258, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6108/0.6108, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 12 kB / 493.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00441/0.1436, allocations: 4.273 MB / 0.5611 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1468, allocations: 2.332 MB / 0.5634 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.1471, allocations: 27.81 kB / 0.5634 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1473, allocations: 87.2 kB / 0.5635 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.148, allocations: 350.1 kB / 0.5638 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1487, allocations: 299.4 kB / 0.5641 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.1495, allocations: 0.9835 MB / 0.565 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.1502, allocations: 416.3 kB / 0.5654 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.1505, allocations: 294.6 kB / 0.5657 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.1509, allocations: 326.6 kB / 0.566 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.151, allocations: 20 kB / 0.5661 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1513, allocations: 191.7 kB / 0.5662 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1515, allocations: 163.4 kB / 0.5664 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1516, allocations: 141.3 kB / 0.5665 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005634/0.1522, allocations: 0.6431 MB / 0.5672 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1522, allocations: 0 / 0.5672 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1522, allocations: 0 / 0.5672 GB, free: 1.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1522, allocations: 0 / 0.5672 GB, free: 1.074 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001059/0.1533, allocations: 0.8372 MB / 0.568 GB, free: 192 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1533, allocations: 16.03 kB / 0.568 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.891e-05/0.1534, allocations: 90.52 kB / 0.5681 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1545, allocations: 206.8 kB / 0.5683 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.1551, allocations: 481.4 kB / 0.5687 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1552, allocations: 36.92 kB / 0.5688 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.1552, allocations: 43.98 kB / 0.5688 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000991/0.1562, allocations: 0.8442 MB / 0.5696 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1563, allocations: 15.83 kB / 0.5696 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1563, allocations: 20 kB / 0.5697 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/0.1564, allocations: 72.95 kB / 0.5697 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.1572, allocations: 0.5616 MB / 0.5703 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.1613, allocations: 5.662 MB / 0.5758 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.162, allocations: 446.3 kB / 0.5762 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1623, allocations: 232.1 kB / 0.5765 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1623, allocations: 4 kB / 0.5765 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1623, allocations: 30.56 kB / 0.5765 GB, free: 6.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.1623, allocations: 0 / 0.5765 GB, free: 6.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002245/0.1646, allocations: 1.513 MB / 0.578 GB, free: 5.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1646, allocations: 55.69 kB / 0.578 GB, free: 5.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.1651, allocations: 0.4912 MB / 0.5785 GB, free: 4.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.1652, allocations: 37.69 kB / 0.5785 GB, free: 4.625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1654, allocations: 358.8 kB / 0.5789 GB, free: 4.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.1655, allocations: 118.4 kB / 0.579 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1655, allocations: 12 kB / 0.579 GB, free: 4.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1657, allocations: 370.8 kB / 0.5794 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.166, allocations: 193.1 kB / 0.5795 GB, free: 3.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.1664, allocations: 447.3 kB / 0.58 GB, free: 3.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1668, allocations: 259.7 kB / 0.5802 GB, free: 2.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1668, allocations: 4 kB / 0.5802 GB, free: 2.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001125/0.1679, allocations: 0.809 MB / 0.581 GB, free: 1.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.168, allocations: 8 kB / 0.581 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.168, allocations: 12.84 kB / 0.581 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.1684, allocations: 156.1 kB / 0.5812 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.1688, allocations: 123.8 kB / 0.5813 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3051/0.4739, allocations: 4.022 MB / 0.5852 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.4744, allocations: 36.48 kB / 0.5853 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.4745, allocations: 27.56 kB / 0.5853 GB, free: 29.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003036/0.4748, allocations: 215.8 kB / 0.5855 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.4749, allocations: 63.14 kB / 0.5856 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.476, allocations: 0.5966 MB / 0.5861 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.476, allocations: 3.828 kB / 0.5861 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.476, allocations: 2 kB / 0.5861 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.476, allocations: 1.828 kB / 0.5861 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4779, allocations: 1.254 MB / 0.5874 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4779, allocations: 2.172 kB / 0.5874 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.4781, allocations: 54.55 kB / 0.5874 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.4785, allocations: 145.8 kB / 0.5876 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4786, allocations: 8.188 kB / 0.5876 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.4808, allocations: 4.024 MB / 0.5915 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4808, allocations: 7.062 kB / 0.5915 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.4818, allocations: 0.7112 MB / 0.5922 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.4819, allocations: 166 kB / 0.5924 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.482, allocations: 13.2 kB / 0.5924 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.4822, allocations: 22.34 kB / 0.5924 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4823, allocations: 36.91 kB / 0.5924 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.4823, allocations: 7.75 kB / 0.5924 GB, free: 25.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003972/0.4827, allocations: 336.2 kB / 0.5928 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4827, allocations: 0.8125 kB / 0.5928 GB, free: 24.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006293/0.4834, allocations: 142.3 kB / 0.5929 GB, free: 24.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/0.4845, allocations: 1.251 MB / 0.5941 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.4857, allocations: 1.041 MB / 0.5951 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4858, allocations: 0.875 kB / 0.5951 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.4865, allocations: 0.7349 MB / 0.5958 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.4874, allocations: 188.5 kB / 0.596 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.492, allocations: 3.482 MB / 0.5994 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4924, allocations: 0.9105 MB / 0.6003 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.4928, allocations: 123.8 kB / 0.6004 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4931, allocations: 200.8 kB / 0.6006 GB, free: 19.72 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4931, allocations: 0 / 0.6006 GB, free: 19.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.5215, allocations: 12.2 MB / 0.6125 GB, free: 16.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.5216, allocations: 223.6 kB / 0.6128 GB, free: 16.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.349, allocations: 0 / 0.6128 GB, free: 16.21 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: