Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.427/1.427, allocations: 287.4 MB / 302.6 MB, free: 8.348 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.0008415/0.0008415, allocations: 185.7 kB / 371.1 MB, free: 10.83 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.192/1.192, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0006557/0.0006557, allocations: 88.86 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 10.09 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003298/0.1464, allocations: 4.303 MB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1487, allocations: 2.376 MB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1489, allocations: 27.75 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1491, allocations: 83.22 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.1496, allocations: 346.1 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1501, allocations: 310 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000585/0.1507, allocations: 0.9835 MB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.1512, allocations: 464.3 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1515, allocations: 290.7 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1517, allocations: 330.6 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1518, allocations: 20 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.1521, allocations: 203.7 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1522, allocations: 159.4 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.1523, allocations: 141.3 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.1527, allocations: 0.6392 MB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1527, allocations: 0 / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1527, allocations: 0 / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1527, allocations: 0 / 0.9891 GB, free: 17.41 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.0007943/0.1535, allocations: 0.8374 MB / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1535, allocations: 8.031 kB / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.1536, allocations: 98.62 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.1545, allocations: 207.8 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.155, allocations: 0.4905 MB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.155, allocations: 33.36 kB / 0.9907 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.1551, allocations: 48.38 kB / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.1558, allocations: 0.8446 MB / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1558, allocations: 7.938 kB / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.1558, allocations: 23.98 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.1559, allocations: 64.95 kB / 0.9917 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.1565, allocations: 0.5656 MB / 0.9923 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.1589, allocations: 5.65 MB / 0.9978 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.1594, allocations: 458.2 kB / 0.9982 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1596, allocations: 220.7 kB / 0.9984 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1596, allocations: 8 kB / 0.9984 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.1597, allocations: 34.56 kB / 0.9985 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.1597, allocations: 4 kB / 0.9985 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001775/0.1614, allocations: 1.511 MB / 0.9999 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/0.1615, allocations: 59.34 kB / 1 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1618, allocations: 0.4913 MB / 1 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1618, allocations: 33.7 kB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.162, allocations: 358.8 kB / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.162, allocations: 126.3 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.162, allocations: 12 kB / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.1621, allocations: 362.8 kB / 1.001 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1623, allocations: 197.2 kB / 1.002 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.1626, allocations: 439 kB / 1.002 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.1631, allocations: 0.6836 MB / 1.003 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1631, allocations: 4 kB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008859/0.164, allocations: 0.8056 MB / 1.003 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.164, allocations: 8 kB / 1.003 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.164, allocations: 12 kB / 1.003 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.1644, allocations: 156.5 kB / 1.004 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.1648, allocations: 123.8 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.1673, allocations: 4.04 MB / 1.008 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1676, allocations: 31.97 kB / 1.008 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.1677, allocations: 31.98 kB / 1.008 GB, free: 12.91 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.0002271/0.1679, allocations: 215.1 kB / 1.008 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.168, allocations: 63.25 kB / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.1689, allocations: 0.6008 MB / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1689, allocations: 0 / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1689, allocations: 11.88 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1689, allocations: 0 / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.1705, allocations: 1.257 MB / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1705, allocations: 0 / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1707, allocations: 51.95 kB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.1711, allocations: 152.3 kB / 1.01 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1712, allocations: 8 kB / 1.01 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.1738, allocations: 4.021 MB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1738, allocations: 7.938 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.1747, allocations: 0.7046 MB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.1749, allocations: 172.3 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.1749, allocations: 11.94 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.1751, allocations: 23.97 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1752, allocations: 27.97 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1752, allocations: 12 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003166/0.1756, allocations: 334.8 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005212/0.1761, allocations: 136 kB / 1.015 GB, free: 4.52 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.001105/0.1772, allocations: 1.276 MB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.1785, allocations: 1.029 MB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1785, allocations: 8.125 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.1792, allocations: 0.7341 MB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.1802, allocations: 185.9 kB / 1.018 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.1843, allocations: 3.488 MB / 1.022 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1848, allocations: 0.9098 MB / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.1851, allocations: 117.3 kB / 1.023 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.1853, allocations: 199.4 kB / 1.023 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/0.1853, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4073/0.5926, allocations: 12.21 MB / 1.035 GB, free: 228 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.5929, allocations: 223.4 kB / 1.035 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.34, allocations: 11.75 kB / 1.035 GB, free: 15.98 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)