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.001523/0.001523, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002105, allocations: 195.1 kB / 16.64 MB, free: 6.582 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.76/1.76, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002177/0.002177, allocations: 69.91 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2202, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006359/0.2266, allocations: 4.9 MB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.231, allocations: 2.53 MB / 0.7909 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.232, allocations: 23.81 kB / 0.7909 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.2339, allocations: 405.9 kB / 0.7913 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.2355, allocations: 445.6 kB / 0.7917 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.2365, allocations: 402.5 kB / 0.7921 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.2381, allocations: 0.9251 MB / 0.793 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.2388, allocations: 354.7 kB / 0.7934 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.2393, allocations: 350.6 kB / 0.7937 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.2398, allocations: 350.4 kB / 0.794 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.2399, allocations: 36 kB / 0.7941 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.2407, allocations: 395.1 kB / 0.7944 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.2409, allocations: 183.4 kB / 0.7946 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.2412, allocations: 326.2 kB / 0.7949 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009789/0.2422, allocations: 0.8838 MB / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2422, allocations: 0 / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2422, allocations: 0 / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2422, allocations: 0 / 0.7958 GB, free: 0.7656 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.001369/0.2436, allocations: 0.9501 MB / 0.7967 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2436, allocations: 12.03 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.295e-05/0.2437, allocations: 90.69 kB / 0.7968 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.2449, allocations: 199.9 kB / 0.797 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.2457, allocations: 0.545 MB / 0.7975 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.2457, allocations: 41.36 kB / 0.7976 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.2458, allocations: 44.36 kB / 0.7976 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.2468, allocations: 0.8483 MB / 0.7984 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.2469, allocations: 19.83 kB / 0.7985 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.2469, allocations: 20 kB / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/0.247, allocations: 60.95 kB / 0.7985 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.2478, allocations: 0.5656 MB / 0.7991 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.2519, allocations: 5.654 MB / 0.8046 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.2525, allocations: 457.4 kB / 0.8051 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.2528, allocations: 224.7 kB / 0.8053 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2529, allocations: 4 kB / 0.8053 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2529, allocations: 46.48 kB / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.2529, allocations: 0 / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002353/0.2553, allocations: 1.505 MB / 0.8068 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2553, allocations: 55.34 kB / 0.8068 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.2558, allocations: 0.499 MB / 0.8073 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2559, allocations: 33.7 kB / 0.8074 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.2561, allocations: 366.8 kB / 0.8077 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.2562, allocations: 118.4 kB / 0.8078 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.2564, allocations: 110.1 kB / 0.8079 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2565, allocations: 370.8 kB / 0.8083 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.2568, allocations: 197.2 kB / 0.8085 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.2572, allocations: 447 kB / 0.8089 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.2579, allocations: 0.6847 MB / 0.8096 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2579, allocations: 0 / 0.8096 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001212/0.2591, allocations: 0.8138 MB / 0.8104 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2592, allocations: 8 kB / 0.8104 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.2592, allocations: 8 kB / 0.8104 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.2597, allocations: 160 kB / 0.8105 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.2601, allocations: 123.7 kB / 0.8106 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.2633, allocations: 4.348 MB / 0.8149 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.2637, allocations: 35.97 kB / 0.8149 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2638, allocations: 24 kB / 0.8149 GB, free: 11.64 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.0002501/0.264, allocations: 227.8 kB / 0.8152 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.2641, allocations: 59.25 kB / 0.8152 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.2651, allocations: 0.6007 MB / 0.8158 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2651, allocations: 4 kB / 0.8158 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2651, allocations: 0 / 0.8158 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2651, allocations: 7.969 kB / 0.8158 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2667, allocations: 1.255 MB / 0.817 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2667, allocations: 4 kB / 0.817 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.267, allocations: 60.11 kB / 0.8171 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.2674, allocations: 144.1 kB / 0.8172 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2674, allocations: 11.94 kB / 0.8173 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.2705, allocations: 4.329 MB / 0.8215 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2705, allocations: 4.031 kB / 0.8215 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2716, allocations: 0.712 MB / 0.8222 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.2718, allocations: 172.3 kB / 0.8223 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.2719, allocations: 8 kB / 0.8224 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.2721, allocations: 23.97 kB / 0.8224 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.2722, allocations: 35.84 kB / 0.8224 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2722, allocations: 8 kB / 0.8224 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003526/0.2726, allocations: 338.8 kB / 0.8227 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 0 / 0.8227 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006088/0.2732, allocations: 144 kB / 0.8229 GB, free: 2.887 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.001208/0.2744, allocations: 1.273 MB / 0.8241 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.2758, allocations: 1.037 MB / 0.8251 GB, free: 440 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.2758, allocations: 0 / 0.8251 GB, free: 440 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.2766, allocations: 0.7354 MB / 0.8259 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.2776, allocations: 211.7 kB / 0.8261 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.2839, allocations: 5.151 MB / 0.8311 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.2843, allocations: 0.9096 MB / 0.832 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003521/0.2847, allocations: 125.3 kB / 0.8321 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.2849, allocations: 195.4 kB / 0.8323 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/0.2849, allocations: 0 / 0.8323 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.3199, allocations: 12.71 MB / 0.8447 GB, free: 12.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.15, allocations: 11.61 kB / 0.8447 GB, free: 12.2 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)