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.0008333/0.0008333, allocations: 91.61 kB / 15.36 MB, free: 0.7344 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.004532/0.004532, allocations: 171.7 kB / 16.26 MB, free: 6.68 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.307/1.307, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.62/1.62, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005379/0.0005379, allocations: 15.69 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.18, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004296/0.1843, allocations: 4.534 MB / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003312/0.1877, allocations: 2.515 MB / 0.7949 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.188, allocations: 19.81 kB / 0.7949 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1883, allocations: 91.2 kB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.1891, allocations: 410 kB / 0.7954 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.1899, allocations: 363.3 kB / 0.7957 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1909, allocations: 1.139 MB / 0.7968 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.1915, allocations: 456.3 kB / 0.7973 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.1919, allocations: 294.6 kB / 0.7976 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1923, allocations: 346.4 kB / 0.7979 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.1923, allocations: 20 kB / 0.7979 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006282/0.193, allocations: 498.9 kB / 0.7984 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1931, allocations: 151.5 kB / 0.7985 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1934, allocations: 331.9 kB / 0.7988 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007863/0.1942, allocations: 0.8876 MB / 0.7997 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1942, allocations: 0 / 0.7997 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1942, allocations: 0 / 0.7997 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.1942, allocations: 0 / 0.7997 GB, free: 15.37 MB / 0.6231 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.001017/0.1952, allocations: 0.8257 MB / 0.8005 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.1953, allocations: 16.02 kB / 0.8005 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.49e-05/0.1954, allocations: 94.69 kB / 0.8006 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.1965, allocations: 203.7 kB / 0.8008 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.197, allocations: 0.4944 MB / 0.8013 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1971, allocations: 33.38 kB / 0.8013 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.1971, allocations: 44.36 kB / 0.8014 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.198, allocations: 0.8522 MB / 0.8022 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.198, allocations: 11.92 kB / 0.8022 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.1981, allocations: 23.98 kB / 0.8022 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-05/0.1982, allocations: 68.95 kB / 0.8023 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.1989, allocations: 0.5656 MB / 0.8029 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.2022, allocations: 5.654 MB / 0.8084 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.2028, allocations: 458.3 kB / 0.8088 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.2031, allocations: 224.7 kB / 0.809 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.2031, allocations: 7.938 kB / 0.809 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2031, allocations: 38.56 kB / 0.8091 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.2031, allocations: 0 / 0.8091 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002085/0.2052, allocations: 1.516 MB / 0.8106 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.2053, allocations: 55.41 kB / 0.8106 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.2057, allocations: 0.4991 MB / 0.8111 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2057, allocations: 29.7 kB / 0.8111 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.2059, allocations: 366.8 kB / 0.8115 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.206, allocations: 114.3 kB / 0.8116 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.206, allocations: 49.69 kB / 0.8116 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2062, allocations: 374.8 kB / 0.812 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.2064, allocations: 193.2 kB / 0.8122 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.2068, allocations: 454.8 kB / 0.8126 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.2075, allocations: 0.6769 MB / 0.8133 GB, free: 444 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2075, allocations: 4 kB / 0.8133 GB, free: 440 kB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001096/0.2086, allocations: 0.809 MB / 0.8141 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2086, allocations: 12.94 kB / 0.8141 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2086, allocations: 8 kB / 0.8141 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.209, allocations: 156.1 kB / 0.8142 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.2094, allocations: 123.7 kB / 0.8143 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.212, allocations: 4.052 MB / 0.8183 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.2124, allocations: 31.97 kB / 0.8183 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2124, allocations: 28 kB / 0.8184 GB, free: 10.78 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.0002068/0.2126, allocations: 220.1 kB / 0.8186 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.2127, allocations: 63.25 kB / 0.8186 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.2136, allocations: 0.5968 MB / 0.8192 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2136, allocations: 4 kB / 0.8192 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2136, allocations: 3.938 kB / 0.8192 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2136, allocations: 0 / 0.8192 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.2152, allocations: 1.265 MB / 0.8205 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2152, allocations: 4.031 kB / 0.8205 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2154, allocations: 55.89 kB / 0.8205 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.2158, allocations: 144.1 kB / 0.8207 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.2158, allocations: 8 kB / 0.8207 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/0.2184, allocations: 4.029 MB / 0.8246 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2184, allocations: 4 kB / 0.8246 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.2194, allocations: 0.7116 MB / 0.8253 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.2196, allocations: 172.3 kB / 0.8255 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.2197, allocations: 8 kB / 0.8255 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2199, allocations: 23.97 kB / 0.8255 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.22, allocations: 27.91 kB / 0.8255 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.22, allocations: 8 kB / 0.8255 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003126/0.2203, allocations: 342.8 kB / 0.8258 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2203, allocations: 0 / 0.8258 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005626/0.2209, allocations: 144 kB / 0.826 GB, free: 2.359 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.001073/0.222, allocations: 1.276 MB / 0.8272 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.2232, allocations: 1.037 MB / 0.8282 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2232, allocations: 3.938 kB / 0.8282 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.2239, allocations: 0.7385 MB / 0.829 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.2249, allocations: 194 kB / 0.8292 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/0.2306, allocations: 5.461 MB / 0.8345 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.231, allocations: 0.9059 MB / 0.8354 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000316/0.2313, allocations: 113.3 kB / 0.8355 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.2316, allocations: 195.4 kB / 0.8357 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2316, allocations: 4 kB / 0.8357 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.743/1.975, allocations: 12.14 MB / 0.8475 GB, free: 11.98 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003853/1.975, allocations: 249 kB / 0.8478 GB, free: 11.72 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/3.944, allocations: 0 / 0.8478 GB, free: 11.72 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)