Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 173.2 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007072/0.0007072, allocations: 91.25 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 10.53 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1551, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003555/0.1587, allocations: 4.605 MB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1612, allocations: 2.538 MB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1614, allocations: 23.75 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.1621, allocations: 366.4 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.1627, allocations: 418 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1632, allocations: 369.1 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.1638, allocations: 1.128 MB / 0.9054 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.1643, allocations: 347.3 kB / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1645, allocations: 298.6 kB / 0.906 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1648, allocations: 334.4 kB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.1648, allocations: 24 kB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.1653, allocations: 498.9 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1654, allocations: 163.4 kB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1656, allocations: 294.3 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.1662, allocations: 0.8835 MB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1662, allocations: 0 / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1662, allocations: 4 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.1662, allocations: 0 / 0.9081 GB, free: 55.84 MB / 0.6042 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.0008404/0.167, allocations: 0.8334 MB / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1671, allocations: 11.97 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.1671, allocations: 94.69 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.1682, allocations: 195.9 kB / 0.9092 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.1686, allocations: 0.4982 MB / 0.9097 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1687, allocations: 37.38 kB / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1687, allocations: 44.36 kB / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.1694, allocations: 0.8599 MB / 0.9107 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1695, allocations: 15.83 kB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1695, allocations: 23.98 kB / 0.9107 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.1696, allocations: 64.95 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.1702, allocations: 0.5578 MB / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.1727, allocations: 5.654 MB / 0.9168 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1731, allocations: 458.3 kB / 0.9173 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1734, allocations: 228.7 kB / 0.9175 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1734, allocations: 4 kB / 0.9175 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.1734, allocations: 38.56 kB / 0.9175 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.1734, allocations: 0 / 0.9175 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00186/0.1753, allocations: 1.517 MB / 0.919 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.1753, allocations: 55.41 kB / 0.9191 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1756, allocations: 0.5067 MB / 0.9195 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1757, allocations: 29.7 kB / 0.9196 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1758, allocations: 362.8 kB / 0.9199 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1759, allocations: 110.4 kB / 0.92 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1759, allocations: 49.69 kB / 0.9201 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.176, allocations: 370.8 kB / 0.9204 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1762, allocations: 193.2 kB / 0.9206 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1765, allocations: 447 kB / 0.921 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.177, allocations: 0.6954 MB / 0.9217 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.177, allocations: 0 / 0.9217 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009223/0.1779, allocations: 0.8095 MB / 0.9225 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.178, allocations: 8 kB / 0.9225 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.178, allocations: 8 kB / 0.9225 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.1784, allocations: 160 kB / 0.9227 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.1787, allocations: 116 kB / 0.9228 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.1806, allocations: 4.044 MB / 0.9267 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.1809, allocations: 35.97 kB / 0.9268 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.181, allocations: 32.09 kB / 0.9268 GB, free: 35.25 MB / 0.6042 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1812, allocations: 213.6 kB / 0.927 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.1812, allocations: 63.23 kB / 0.9271 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/0.182, allocations: 0.6164 MB / 0.9277 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.182, allocations: 4 kB / 0.9277 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.182, allocations: 3.938 kB / 0.9277 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.182, allocations: 0 / 0.9277 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1833, allocations: 1.253 MB / 0.9289 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1833, allocations: 4 kB / 0.9289 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1835, allocations: 55.89 kB / 0.929 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.1838, allocations: 148.4 kB / 0.9291 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1839, allocations: 8 kB / 0.9291 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.1857, allocations: 4.024 MB / 0.933 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1857, allocations: 7.969 kB / 0.933 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.1864, allocations: 0.7045 MB / 0.9337 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1866, allocations: 172.2 kB / 0.9339 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.1866, allocations: 12 kB / 0.9339 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1869, allocations: 19.97 kB / 0.9339 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.187, allocations: 31.97 kB / 0.934 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.187, allocations: 15.94 kB / 0.934 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002651/0.1873, allocations: 338.8 kB / 0.9343 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1873, allocations: 0 / 0.9343 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004717/0.1877, allocations: 140 kB / 0.9344 GB, free: 26.83 MB / 0.6042 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008887/0.1886, allocations: 1.282 MB / 0.9357 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.1896, allocations: 1.033 MB / 0.9367 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1896, allocations: 0 / 0.9367 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.1902, allocations: 0.7381 MB / 0.9374 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.1911, allocations: 190.2 kB / 0.9376 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.1955, allocations: 5.434 MB / 0.9429 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1957, allocations: 0.9098 MB / 0.9438 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.196, allocations: 121.3 kB / 0.9439 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1961, allocations: 191.4 kB / 0.9441 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.1961, allocations: 0 / 0.9441 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/0.3746, allocations: 12.17 MB / 0.956 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.3748, allocations: 253.9 kB / 0.9562 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/2.949, allocations: 0 / 0.9562 GB, free: 4.168 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)