Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.406/1.406, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 168.5 kB / 372.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006505/0.0006505, allocations: 98.3 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 10.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003437/0.1487, allocations: 4.299 MB / 0.9844 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1513, allocations: 2.376 MB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1515, allocations: 27.81 kB / 0.9867 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1517, allocations: 91.2 kB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.1522, allocations: 406 kB / 0.9872 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.1528, allocations: 322 kB / 0.9875 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.1534, allocations: 0.9952 MB / 0.9885 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.1539, allocations: 464.3 kB / 0.9889 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1541, allocations: 286.7 kB / 0.9892 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1544, allocations: 326.6 kB / 0.9895 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1544, allocations: 20 kB / 0.9895 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.1548, allocations: 479 kB / 0.99 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.155, allocations: 159.4 kB / 0.9902 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1551, allocations: 300.2 kB / 0.9904 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.1555, allocations: 0.6664 MB / 0.9911 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1555, allocations: 0 / 0.9911 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1556, allocations: 0 / 0.9911 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1556, allocations: 0 / 0.9911 GB, free: 16.04 MB / 0.6198 GB 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.0008503/0.1564, allocations: 0.8374 MB / 0.9919 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1565, allocations: 8.031 kB / 0.9919 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.1565, allocations: 98.69 kB / 0.992 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.1575, allocations: 203.8 kB / 0.9922 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.158, allocations: 0.4905 MB / 0.9927 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.158, allocations: 37.36 kB / 0.9927 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.158, allocations: 48.36 kB / 0.9928 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.1588, allocations: 0.8444 MB / 0.9936 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1588, allocations: 3.938 kB / 0.9936 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1588, allocations: 23.98 kB / 0.9936 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.1589, allocations: 72.89 kB / 0.9937 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.1595, allocations: 0.5616 MB / 0.9942 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.162, allocations: 5.666 MB / 0.9998 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1624, allocations: 454.2 kB / 1 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.1626, allocations: 224.7 kB / 1 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1627, allocations: 7.938 kB / 1 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.1627, allocations: 34.56 kB / 1 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.262e-06/0.1627, allocations: 4 kB / 1 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001876/0.1646, allocations: 1.515 MB / 1.002 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.1646, allocations: 55.41 kB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1649, allocations: 0.4913 MB / 1.002 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.165, allocations: 37.7 kB / 1.003 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1651, allocations: 358.8 kB / 1.003 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1652, allocations: 118.3 kB / 1.003 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.1652, allocations: 16 kB / 1.003 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.1652, allocations: 358.8 kB / 1.003 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1655, allocations: 197.2 kB / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1657, allocations: 447 kB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.1663, allocations: 0.6758 MB / 1.005 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1663, allocations: 4 kB / 1.005 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008955/0.1672, allocations: 0.8097 MB / 1.005 GB, free: 336 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1672, allocations: 8 kB / 1.005 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1672, allocations: 12 kB / 1.005 GB, free: 316 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.1676, allocations: 156.3 kB / 1.006 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.168, allocations: 123.8 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.1706, allocations: 4.032 MB / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.1709, allocations: 36.12 kB / 1.01 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.1709, allocations: 32 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB 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.0002064/0.1711, allocations: 212.5 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.1712, allocations: 67.25 kB / 1.01 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/0.1721, allocations: 0.6007 MB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1721, allocations: 4 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1721, allocations: 3.938 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1721, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1737, allocations: 1.255 MB / 1.012 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1737, allocations: 4 kB / 1.012 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1739, allocations: 55.89 kB / 1.012 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.1743, allocations: 152.3 kB / 1.012 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1743, allocations: 8 kB / 1.012 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.177, allocations: 4.024 MB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.177, allocations: 4 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.1779, allocations: 0.7081 MB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.1781, allocations: 172.3 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.1781, allocations: 8 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.1784, allocations: 31.97 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.1784, allocations: 31.91 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1785, allocations: 8 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003025/0.1788, allocations: 334.8 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1788, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005119/0.1793, allocations: 140 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB 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.001091/0.1804, allocations: 1.268 MB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.1816, allocations: 1.03 MB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1816, allocations: 0 / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.1824, allocations: 0.7383 MB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/0.1834, allocations: 185.1 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.1876, allocations: 3.474 MB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.188, allocations: 0.9098 MB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.1883, allocations: 121.3 kB / 1.025 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.1886, allocations: 203.4 kB / 1.025 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.1886, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.585/2.774, allocations: 12.33 MB / 1.037 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/2.774, allocations: 234.8 kB / 1.037 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.538/7.313, allocations: 0 / 1.037 GB, free: 14.45 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)