Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.701/2.701, allocations: 251 MB / 265.9 MB, free: 11.72 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.001504/0.001504, allocations: 185.1 kB / 325.5 MB, free: 2.898 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.354/2.354, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001245/0.001245, allocations: 103 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006244, allocations: 9.719 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2028, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9479/1.151, allocations: 175.4 MB / 1.07 GB, free: 66.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.151, allocations: 105.1 kB / 1.07 GB, free: 66.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1146/1.266, allocations: 28.81 MB / 1.098 GB, free: 63.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/1.266, allocations: 0 / 1.098 GB, free: 63.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.678e-05/1.266, allocations: 7.812 kB / 1.098 GB, free: 63.03 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001773/1.268, allocations: 0.7555 MB / 1.099 GB, free: 62.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.268, allocations: 7.844 kB / 1.099 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/1.268, allocations: 75.27 kB / 1.099 GB, free: 62.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/1.272, allocations: 0.5784 MB / 1.1 GB, free: 62.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.274, allocations: 466.4 kB / 1.1 GB, free: 62.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/1.274, allocations: 23.44 kB / 1.1 GB, free: 62.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/1.274, allocations: 34.73 kB / 1.1 GB, free: 62.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/1.276, allocations: 0.7594 MB / 1.101 GB, free: 62.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/1.276, allocations: 7.938 kB / 1.101 GB, free: 62.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/1.276, allocations: 14.92 kB / 1.101 GB, free: 62.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/1.276, allocations: 23.64 kB / 1.101 GB, free: 62.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/1.28, allocations: 0.8551 MB / 1.102 GB, free: 62.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/1.286, allocations: 2.86 MB / 1.105 GB, free: 60.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.289, allocations: 0.5168 MB / 1.105 GB, free: 60.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.289, allocations: 84.92 kB / 1.105 GB, free: 60.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.289, allocations: 37.8 kB / 1.105 GB, free: 60.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.687e-06/1.29, allocations: 4 kB / 1.105 GB, free: 60.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.01743/1.307, allocations: 2.946 MB / 1.108 GB, free: 59.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/1.307, allocations: 87.66 kB / 1.108 GB, free: 59.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/1.308, allocations: 377.8 kB / 1.109 GB, free: 59.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/1.308, allocations: 34.89 kB / 1.109 GB, free: 59.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/1.308, allocations: 238.8 kB / 1.109 GB, free: 59.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.308, allocations: 85.48 kB / 1.109 GB, free: 59.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/1.308, allocations: 3.562 kB / 1.109 GB, free: 59.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/1.308, allocations: 345 kB / 1.109 GB, free: 59.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/1.31, allocations: 361.4 kB / 1.11 GB, free: 59.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/1.312, allocations: 451.4 kB / 1.11 GB, free: 59.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.314, allocations: 391.2 kB / 1.11 GB, free: 59.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.314, allocations: 0 / 1.11 GB, free: 59.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008155/1.322, allocations: 1.412 MB / 1.112 GB, free: 58.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002289/1.322, allocations: 0.7877 MB / 1.113 GB, free: 58.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.322, allocations: 2.438 kB / 1.113 GB, free: 58.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/1.328, allocations: 0.7033 MB / 1.113 GB, free: 58.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.329, allocations: 135.5 kB / 1.113 GB, free: 58.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.335, allocations: 3.245 MB / 1.117 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.336, allocations: 122.2 kB / 1.117 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/1.337, allocations: 11.7 kB / 1.117 GB, free: 56.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.337, allocations: 7.969 kB / 1.117 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006091/1.343, allocations: 1.142 MB / 1.118 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.343, allocations: 4.188 kB / 1.118 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/1.346, allocations: 467.2 kB / 1.118 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.347, allocations: 147.8 kB / 1.118 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/1.352, allocations: 2.522 MB / 1.121 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.354, allocations: 109 kB / 1.121 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/1.354, allocations: 15.66 kB / 1.121 GB, free: 54.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005562/1.354, allocations: 326.8 kB / 1.121 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/1.355, allocations: 31.22 kB / 1.121 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008868/1.363, allocations: 1.324 MB / 1.123 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.364, allocations: 3.906 kB / 1.123 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.364, allocations: 0 / 1.123 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.364, allocations: 0 / 1.123 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.376, allocations: 1.985 MB / 1.125 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.376, allocations: 8 kB / 1.125 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.378, allocations: 89.55 kB / 1.125 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007725/1.385, allocations: 0.6874 MB / 1.125 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.386, allocations: 7.891 kB / 1.125 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.398, allocations: 4.568 MB / 1.13 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.398, allocations: 3.906 kB / 1.13 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00975/1.408, allocations: 1.374 MB / 1.131 GB, free: 49.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/1.409, allocations: 161.6 kB / 1.131 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/1.409, allocations: 7.406 kB / 1.131 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.411, allocations: 94.08 kB / 1.131 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.411, allocations: 23.08 kB / 1.131 GB, free: 49.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/1.411, allocations: 15.31 kB / 1.131 GB, free: 49.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007833/1.412, allocations: 308.7 kB / 1.132 GB, free: 49.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.41e-07/1.412, allocations: 0 / 1.132 GB, free: 49.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001871/1.414, allocations: 220.8 kB / 1.132 GB, free: 49.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01124/1.425, allocations: 2.185 MB / 1.134 GB, free: 47.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009473/1.435, allocations: 1.512 MB / 1.136 GB, free: 47.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.435, allocations: 0 / 1.136 GB, free: 47.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/1.438, allocations: 0.6652 MB / 1.136 GB, free: 46.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.439, allocations: 113.8 kB / 1.136 GB, free: 46.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/1.456, allocations: 5.263 MB / 1.141 GB, free: 43.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.457, allocations: 0.9216 MB / 1.142 GB, free: 42.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009626/1.458, allocations: 153.1 kB / 1.143 GB, free: 42.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/1.458, allocations: 134.4 kB / 1.143 GB, free: 42.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.458, allocations: 3.812 kB / 1.143 GB, free: 42.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/1.507, allocations: 15.88 MB / 1.158 GB, free: 35.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/1.507, allocations: 226.4 kB / 1.158 GB, free: 34.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.493, allocations: 3.938 kB / 1.158 GB, free: 34.96 MB / 0.698 GB