Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.153/2.153, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 172.9 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001092/0.001092, allocations: 92.73 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.78e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9237/1.125, allocations: 174.8 MB / 1.061 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.126, allocations: 100.2 kB / 1.061 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1284/1.254, allocations: 31.24 MB / 1.092 GB, free: 128 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.254, allocations: 0 / 1.092 GB, free: 128 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.768e-05/1.254, allocations: 12 kB / 1.092 GB, free: 116 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002895/1.257, allocations: 0.8003 MB / 1.093 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/1.257, allocations: 8.031 kB / 1.093 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003093/1.257, allocations: 101.4 kB / 1.093 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/1.262, allocations: 198.5 kB / 1.093 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/1.265, allocations: 497.2 kB / 1.094 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-05/1.265, allocations: 38.88 kB / 1.094 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/1.265, allocations: 57.73 kB / 1.094 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/1.268, allocations: 0.8582 MB / 1.094 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/1.268, allocations: 7.844 kB / 1.094 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/1.268, allocations: 26.05 kB / 1.095 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/1.268, allocations: 48.47 kB / 1.095 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/1.27, allocations: 0.5614 MB / 1.095 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007379/1.277, allocations: 4.599 MB / 1.1 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.278, allocations: 291 kB / 1.1 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/1.278, allocations: 231.9 kB / 1.1 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/1.278, allocations: 3.984 kB / 1.1 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/1.278, allocations: 41.81 kB / 1.1 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/1.278, allocations: 4 kB / 1.1 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.007862/1.286, allocations: 2.19 MB / 1.102 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.286, allocations: 59.39 kB / 1.102 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/1.287, allocations: 387.4 kB / 1.103 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/1.287, allocations: 36.45 kB / 1.103 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.287, allocations: 337.4 kB / 1.103 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/1.288, allocations: 147 kB / 1.103 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/1.288, allocations: 14.62 kB / 1.103 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.288, allocations: 364.1 kB / 1.104 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/1.289, allocations: 225.8 kB / 1.104 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/1.289, allocations: 376.9 kB / 1.104 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/1.29, allocations: 289.4 kB / 1.104 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.29, allocations: 0 / 1.104 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002891/1.293, allocations: 0.8827 MB / 1.105 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.293, allocations: 10.66 kB / 1.105 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.293, allocations: 8.031 kB / 1.105 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/1.294, allocations: 230.3 kB / 1.106 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/1.295, allocations: 107.9 kB / 1.106 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/1.303, allocations: 4.912 MB / 1.11 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/1.304, allocations: 31.97 kB / 1.11 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/1.304, allocations: 20 kB / 1.11 GB, free: 13.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002188/1.305, allocations: 136.9 kB / 1.111 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.305, allocations: 59.34 kB / 1.111 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.307, allocations: 0.7733 MB / 1.111 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.307, allocations: 4 kB / 1.111 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.307, allocations: 4 kB / 1.111 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.307, allocations: 3.984 kB / 1.111 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/1.312, allocations: 1.475 MB / 1.113 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.312, allocations: 4 kB / 1.113 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/1.312, allocations: 67.89 kB / 1.113 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/1.314, allocations: 210.5 kB / 1.113 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/1.314, allocations: 12 kB / 1.113 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/1.321, allocations: 4.857 MB / 1.118 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.321, allocations: 4.031 kB / 1.118 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00363/1.325, allocations: 1.2 MB / 1.119 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/1.326, allocations: 172.4 kB / 1.119 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.326, allocations: 8 kB / 1.119 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/1.326, allocations: 27.97 kB / 1.119 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.327, allocations: 35.91 kB / 1.119 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/1.327, allocations: 12 kB / 1.119 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005653/1.327, allocations: 305.6 kB / 1.12 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.327, allocations: 0 / 1.12 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001012/1.328, allocations: 176 kB / 1.12 GB, free: 3.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003896/1.332, allocations: 2.263 MB / 1.122 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002642/1.335, allocations: 0.9726 MB / 1.123 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.335, allocations: 0 / 1.123 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.337, allocations: 0.664 MB / 1.124 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.338, allocations: 157.9 kB / 1.124 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/1.341, allocations: 1.114 MB / 1.125 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.342, allocations: 0.9571 MB / 1.126 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007028/1.343, allocations: 116.8 kB / 1.126 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.343, allocations: 207.4 kB / 1.126 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of SimCode: time 6.413e-06/1.343, allocations: 0 / 1.126 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0674/1.411, allocations: 13.18 MB / 1.139 GB, free: 208 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003539/1.411, allocations: 184 kB / 1.139 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/4.316, allocations: 0 / 1.139 GB, free: 15.98 MB / 0.7605 GB