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.001122/0.001122, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001044/0.001044, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.175/1.175, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.526/1.526, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001551/0.001551, allocations: 63.23 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1668, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005279/0.1721, allocations: 4.926 MB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.1753, allocations: 2.507 MB / 0.7902 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1755, allocations: 27.75 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.1765, allocations: 373.8 kB / 0.7906 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006848/0.1772, allocations: 418 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.1778, allocations: 351.4 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.1785, allocations: 0.9289 MB / 0.7923 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.179, allocations: 398.4 kB / 0.7926 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.1793, allocations: 358.5 kB / 0.793 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.1796, allocations: 358.4 kB / 0.7933 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.1797, allocations: 36 kB / 0.7934 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.1801, allocations: 395.1 kB / 0.7937 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1802, allocations: 183.4 kB / 0.7939 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1805, allocations: 330.2 kB / 0.7942 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.1811, allocations: 0.8954 MB / 0.7951 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1812, allocations: 0 / 0.7951 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1812, allocations: 4 kB / 0.7951 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1812, allocations: 3.938 kB / 0.7951 GB, free: 1.309 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.001056/0.1822, allocations: 0.9541 MB / 0.796 GB, free: 308 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1823, allocations: 12.03 kB / 0.7961 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.1824, allocations: 94.69 kB / 0.7961 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.1835, allocations: 195.9 kB / 0.7963 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.184, allocations: 0.4904 MB / 0.7968 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.184, allocations: 33.36 kB / 0.7968 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.1841, allocations: 48.36 kB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/0.1849, allocations: 0.8483 MB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.185, allocations: 15.78 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.185, allocations: 20 kB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.879e-05/0.1851, allocations: 72.95 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.1858, allocations: 0.5656 MB / 0.7984 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.189, allocations: 5.658 MB / 0.8039 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.1895, allocations: 453.4 kB / 0.8043 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.1898, allocations: 232.7 kB / 0.8046 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1898, allocations: 7.984 kB / 0.8046 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1899, allocations: 34.56 kB / 0.8046 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.1899, allocations: 0 / 0.8046 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002039/0.1919, allocations: 1.509 MB / 0.8061 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1919, allocations: 63.39 kB / 0.8061 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.1923, allocations: 0.4951 MB / 0.8066 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1924, allocations: 33.64 kB / 0.8066 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1926, allocations: 362.8 kB / 0.807 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.1926, allocations: 122.4 kB / 0.8071 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1928, allocations: 106.2 kB / 0.8072 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1929, allocations: 366.8 kB / 0.8076 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1931, allocations: 197.2 kB / 0.8077 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1935, allocations: 447 kB / 0.8082 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.1941, allocations: 0.6808 MB / 0.8088 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1941, allocations: 4 kB / 0.8088 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001037/0.1952, allocations: 0.8129 MB / 0.8096 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1952, allocations: 8.969 kB / 0.8096 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1952, allocations: 11.94 kB / 0.8097 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.1956, allocations: 152.1 kB / 0.8098 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.196, allocations: 127.7 kB / 0.8099 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.1986, allocations: 4.34 MB / 0.8142 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1989, allocations: 35.97 kB / 0.8142 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.1989, allocations: 31.98 kB / 0.8142 GB, free: 12.23 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.0001874/0.1991, allocations: 209.6 kB / 0.8144 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.1992, allocations: 63.25 kB / 0.8145 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.2001, allocations: 0.6046 MB / 0.8151 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2001, allocations: 4 kB / 0.8151 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2001, allocations: 4 kB / 0.8151 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2001, allocations: 3.984 kB / 0.8151 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2015, allocations: 1.255 MB / 0.8163 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2015, allocations: 8 kB / 0.8163 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.2018, allocations: 52.11 kB / 0.8164 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003414/0.2021, allocations: 144.2 kB / 0.8165 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2021, allocations: 19.86 kB / 0.8165 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.2046, allocations: 4.333 MB / 0.8208 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2046, allocations: 7.969 kB / 0.8208 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.2054, allocations: 0.7081 MB / 0.8215 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.2056, allocations: 172.3 kB / 0.8216 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.2057, allocations: 12 kB / 0.8216 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2059, allocations: 23.97 kB / 0.8217 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.206, allocations: 39.84 kB / 0.8217 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.206, allocations: 8 kB / 0.8217 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002696/0.2063, allocations: 338.8 kB / 0.822 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2063, allocations: 0 / 0.822 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004919/0.2068, allocations: 140 kB / 0.8222 GB, free: 3.469 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.001026/0.2078, allocations: 1.275 MB / 0.8234 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.209, allocations: 1.076 MB / 0.8245 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.209, allocations: 4.062 kB / 0.8245 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.2096, allocations: 0.7309 MB / 0.8252 GB, free: 160 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.2105, allocations: 208.4 kB / 0.8254 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.2158, allocations: 5.455 MB / 0.8307 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2161, allocations: 0.9098 MB / 0.8316 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.2164, allocations: 121.3 kB / 0.8317 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2166, allocations: 191.4 kB / 0.8319 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.2166, allocations: 0 / 0.8319 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.08/2.296, allocations: 12.68 MB / 0.8443 GB, free: 12.52 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/2.297, allocations: 242.1 kB / 0.8445 GB, free: 12.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/4.514, allocations: 3.5 kB / 0.8445 GB, free: 12.27 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)