Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.18/2.18, allocations: 251 MB / 265.9 MB, free: 11.7 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.001493/0.001493, allocations: 179.6 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.38/2.38, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001161/0.001161, allocations: 98.28 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006413, allocations: 19.77 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.4872, allocations: 147.9 MB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/0.4877, allocations: 99.94 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7256/1.213, allocations: 29.92 MB / 1.073 GB, free: 148.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.547e-06/1.213, allocations: 1.531 kB / 1.073 GB, free: 148.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.212e-05/1.213, allocations: 20.92 kB / 1.073 GB, free: 148.7 MB / 0.698 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.002239/1.216, allocations: 0.8579 MB / 1.073 GB, free: 148.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.216, allocations: 12.91 kB / 1.073 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003235/1.216, allocations: 99.53 kB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/1.218, allocations: 206.9 kB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.22, allocations: 494.1 kB / 1.074 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/1.22, allocations: 31.66 kB / 1.074 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.22, allocations: 45.77 kB / 1.074 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.222, allocations: 0.9272 MB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.222, allocations: 8.219 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/1.222, allocations: 29.94 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/1.222, allocations: 51.5 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/1.224, allocations: 0.5668 MB / 1.076 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/1.23, allocations: 5.663 MB / 1.081 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/1.231, allocations: 460.7 kB / 1.082 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/1.231, allocations: 3.156 kB / 1.082 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.231, allocations: 39.33 kB / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.885e-06/1.231, allocations: 0 / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.00433/1.236, allocations: 1.507 MB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.236, allocations: 56 kB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/1.237, allocations: 442.5 kB / 1.084 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/1.237, allocations: 31.8 kB / 1.084 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.237, allocations: 348.5 kB / 1.084 GB, free: 141.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.237, allocations: 121.8 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/1.237, allocations: 10.59 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.237, allocations: 364 kB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/1.238, allocations: 191.3 kB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/1.238, allocations: 408.6 kB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/1.239, allocations: 256.3 kB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.239, allocations: 2.719 kB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002154/1.241, allocations: 0.7656 MB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.241, allocations: 14.39 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.241, allocations: 6.906 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000771/1.242, allocations: 146.4 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/1.243, allocations: 118.8 kB / 1.086 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/1.247, allocations: 4.06 MB / 1.09 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/1.248, allocations: 34.16 kB / 1.09 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/1.248, allocations: 27.58 kB / 1.09 GB, free: 136.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004546/1.248, allocations: 207.4 kB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.248, allocations: 62.03 kB / 1.091 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/1.25, allocations: 0.5939 MB / 1.091 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.25, allocations: 3.719 kB / 1.091 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.25, allocations: 5.266 kB / 1.091 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.25, allocations: 9.484 kB / 1.091 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.253, allocations: 1.264 MB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.253, allocations: 0 / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/1.254, allocations: 62.88 kB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/1.255, allocations: 134.9 kB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/1.255, allocations: 11.94 kB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/1.258, allocations: 4.048 MB / 1.097 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.258, allocations: 0 / 1.097 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/1.26, allocations: 0.8012 MB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/1.26, allocations: 165.8 kB / 1.098 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.26, allocations: 19.67 kB / 1.098 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/1.261, allocations: 26.97 kB / 1.098 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.261, allocations: 29.06 kB / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/1.261, allocations: 11.36 kB / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005276/1.262, allocations: 334.6 kB / 1.098 GB, free: 129.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.262, allocations: 0 / 1.098 GB, free: 129.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009164/1.263, allocations: 152.7 kB / 1.098 GB, free: 129.8 MB / 0.698 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/1.265, allocations: 1.818 MB / 1.1 GB, free: 128.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.266, allocations: 1.018 MB / 1.101 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.267, allocations: 0 / 1.101 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.268, allocations: 0.7428 MB / 1.102 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.269, allocations: 180.6 kB / 1.102 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/1.277, allocations: 8.262 MB / 1.11 GB, free: 119.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.278, allocations: 0.9283 MB / 1.111 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006171/1.278, allocations: 111.4 kB / 1.111 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/1.279, allocations: 198.3 kB / 1.111 GB, free: 118.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.279, allocations: 4 kB / 1.111 GB, free: 118.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/1.333, allocations: 12.22 MB / 1.123 GB, free: 107.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.333, allocations: 220 kB / 1.123 GB, free: 107 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/4.287, allocations: 0 / 1.123 GB, free: 107 MB / 0.698 GB