Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001092/0.001093, allocations: 196.7 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.1 MB / 222 MB, free: 4.941 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.456/1.456, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 70.62 kB / 0.6709 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005266/0.1638, allocations: 4.927 MB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.1667, allocations: 2.542 MB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1669, allocations: 23.81 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/0.1678, allocations: 362.5 kB / 0.7905 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.1684, allocations: 414 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.169, allocations: 369.5 kB / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.1698, allocations: 1.132 MB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.1702, allocations: 351.5 kB / 0.7927 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.1705, allocations: 306.5 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.1709, allocations: 362.4 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.1709, allocations: 24 kB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.1715, allocations: 0.4911 MB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1717, allocations: 171.4 kB / 0.794 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.1719, allocations: 310.2 kB / 0.7943 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.1726, allocations: 0.8953 MB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1726, allocations: 0 / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1727, allocations: 0 / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.1727, allocations: 0 / 0.7951 GB, free: 1.215 MB / 0.6075 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.001091/0.1738, allocations: 0.9425 MB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1738, allocations: 8.031 kB / 0.7961 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/0.1739, allocations: 98.62 kB / 0.7961 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.175, allocations: 207.8 kB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.1756, allocations: 0.4983 MB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1756, allocations: 29.38 kB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.1757, allocations: 52.27 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.1765, allocations: 0.8482 MB / 0.7977 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1766, allocations: 7.938 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.1766, allocations: 23.98 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-05/0.1767, allocations: 68.95 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.1774, allocations: 0.5656 MB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.181, allocations: 5.658 MB / 0.8039 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.1815, allocations: 458.3 kB / 0.8044 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.1818, allocations: 228.7 kB / 0.8046 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1818, allocations: 4 kB / 0.8046 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1818, allocations: 34.56 kB / 0.8046 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1819, allocations: 0 / 0.8046 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002114/0.184, allocations: 1.509 MB / 0.8061 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.184, allocations: 59.41 kB / 0.8061 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.1844, allocations: 0.499 MB / 0.8066 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1845, allocations: 33.7 kB / 0.8067 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1847, allocations: 362.8 kB / 0.807 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.1848, allocations: 114.4 kB / 0.8071 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1849, allocations: 114.1 kB / 0.8072 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.185, allocations: 362.8 kB / 0.8076 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1853, allocations: 197.2 kB / 0.8078 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.1857, allocations: 447 kB / 0.8082 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.1864, allocations: 0.6808 MB / 0.8088 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.1864, allocations: 4 kB / 0.8088 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001089/0.1875, allocations: 0.821 MB / 0.8097 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1875, allocations: 8 kB / 0.8097 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1875, allocations: 8 kB / 0.8097 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.1879, allocations: 156.6 kB / 0.8098 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.1883, allocations: 123.8 kB / 0.8099 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.191, allocations: 4.036 MB / 0.8139 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.1913, allocations: 35.97 kB / 0.8139 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1913, allocations: 28 kB / 0.8139 GB, free: 12.46 MB / 0.6387 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.0001977/0.1915, allocations: 214.2 kB / 0.8141 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.1916, allocations: 59.25 kB / 0.8142 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008833/0.1925, allocations: 0.6047 MB / 0.8148 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1925, allocations: 4 kB / 0.8148 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1925, allocations: 3.938 kB / 0.8148 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1925, allocations: 0 / 0.8148 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.194, allocations: 1.261 MB / 0.816 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1941, allocations: 7.938 kB / 0.816 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.1943, allocations: 55.89 kB / 0.8161 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.1947, allocations: 148.3 kB / 0.8162 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1947, allocations: 8 kB / 0.8162 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.1972, allocations: 4.029 MB / 0.8202 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1972, allocations: 0 / 0.8202 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.1981, allocations: 0.7077 MB / 0.8209 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.1983, allocations: 172.2 kB / 0.821 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.1983, allocations: 11.98 kB / 0.821 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1986, allocations: 27.97 kB / 0.8211 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.1986, allocations: 27.91 kB / 0.8211 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1986, allocations: 11.94 kB / 0.8211 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000295/0.1989, allocations: 338.8 kB / 0.8214 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1989, allocations: 0 / 0.8214 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000493/0.1994, allocations: 144 kB / 0.8216 GB, free: 4.039 MB / 0.6387 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.001092/0.2005, allocations: 1.277 MB / 0.8228 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.2017, allocations: 1.025 MB / 0.8238 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2017, allocations: 8.062 kB / 0.8238 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.2024, allocations: 0.734 MB / 0.8245 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.2032, allocations: 189.8 kB / 0.8247 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.2087, allocations: 5.438 MB / 0.83 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2091, allocations: 0.9098 MB / 0.8309 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000282/0.2094, allocations: 117.3 kB / 0.831 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.2096, allocations: 195.4 kB / 0.8312 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.2096, allocations: 0 / 0.8312 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.186/4.396, allocations: 12.3 MB / 0.8432 GB, free: 13.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/4.396, allocations: 252.9 kB / 0.8435 GB, free: 13.24 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/6.265, allocations: 0.75 kB / 0.8435 GB, free: 13.24 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)