Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.207/2.207, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.00154/0.00154, allocations: 180.3 kB / 315.4 MB, free: 3.992 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.194/2.194, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 94.03 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.431e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.203, allocations: 161.9 MB / 1.042 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.203, allocations: 97.92 kB / 1.042 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2881/1.491, allocations: 62.24 MB / 1.103 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/1.491, allocations: 0 / 1.103 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001335/1.491, allocations: 40 kB / 1.103 GB, free: 5.68 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00607/1.497, allocations: 1.622 MB / 1.105 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.497, allocations: 8.031 kB / 1.105 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/1.502, allocations: 496.3 kB / 1.105 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/1.507, allocations: 1.279 MB / 1.106 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/1.507, allocations: 48 kB / 1.107 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/1.507, allocations: 84 kB / 1.107 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006415/1.514, allocations: 2.27 MB / 1.109 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008356/1.522, allocations: 2.873 MB / 1.112 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-05/1.522, allocations: 11.84 kB / 1.112 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/1.523, allocations: 8 kB / 1.112 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/1.524, allocations: 183 kB / 1.112 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/1.563, allocations: 14.48 MB / 1.126 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/1.568, allocations: 1.757 MB / 1.128 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/1.571, allocations: 1.493 MB / 1.129 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.59e-05/1.571, allocations: 21.28 kB / 1.129 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.571, allocations: 43.88 kB / 1.129 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.797e-06/1.571, allocations: 0 / 1.129 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.07747/1.649, allocations: 14.27 MB / 1.143 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.649, allocations: 69.41 kB / 1.143 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/1.651, allocations: 0.9771 MB / 1.144 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006097/1.652, allocations: 25.7 kB / 1.144 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/1.653, allocations: 0.7796 MB / 1.145 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.654, allocations: 0.6004 MB / 1.146 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/1.654, allocations: 0 / 1.146 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000254/1.655, allocations: 389.9 kB / 1.146 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005113/1.66, allocations: 2.05 MB / 1.148 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005621/1.665, allocations: 2.372 MB / 1.15 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.675, allocations: 2.769 MB / 1.153 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/1.676, allocations: 4 kB / 1.153 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03317/1.709, allocations: 8.484 MB / 1.161 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/1.709, allocations: 8 kB / 1.161 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/1.709, allocations: 8 kB / 1.161 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02805/1.737, allocations: 4.938 MB / 1.166 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/1.739, allocations: 259.5 kB / 1.166 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06088/1.8, allocations: 22.96 MB / 1.189 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/1.804, allocations: 95.75 kB / 1.189 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009241/1.805, allocations: 267.8 kB / 1.189 GB, free: 13.08 MB / 0.8073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007624/1.805, allocations: 128.7 kB / 1.189 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02865/1.834, allocations: 7.624 MB / 1.197 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.835, allocations: 134.4 kB / 1.197 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03/1.865, allocations: 8.042 MB / 1.205 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/1.865, allocations: 20 kB / 1.205 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/1.865, allocations: 12 kB / 1.205 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.565e-05/1.865, allocations: 7.969 kB / 1.205 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04383/1.909, allocations: 12.42 MB / 1.217 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/1.909, allocations: 4 kB / 1.217 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.91, allocations: 120.3 kB / 1.217 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/1.938, allocations: 4.703 MB / 1.222 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006738/1.939, allocations: 67.89 kB / 1.222 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05424/1.993, allocations: 19.26 MB / 1.24 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.993, allocations: 4 kB / 1.24 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02903/2.022, allocations: 7.66 MB / 1.248 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6252/2.647, allocations: 0.823 MB / 1.249 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009919/2.648, allocations: 6.359 kB / 1.249 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/2.651, allocations: 61.59 kB / 1.249 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.653, allocations: 184.6 kB / 1.249 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009014/2.654, allocations: 180.2 kB / 1.249 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002202/2.656, allocations: 0.759 MB / 1.25 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.51e-07/2.656, allocations: 0 / 1.25 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0052/2.661, allocations: 0.6906 MB / 1.25 GB, free: 263.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.03243/2.694, allocations: 9.409 MB / 1.26 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.711, allocations: 5.674 MB / 1.265 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.711, allocations: 1.312 kB / 1.265 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/2.724, allocations: 3.368 MB / 1.269 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/2.726, allocations: 159.3 kB / 1.269 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/2.742, allocations: 4.727 MB / 1.273 GB, free: 260 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003095/2.745, allocations: 1.828 MB / 1.275 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002154/2.747, allocations: 413.4 kB / 1.275 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/2.749, allocations: 0.6671 MB / 1.276 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.333e-06/2.749, allocations: 1.188 kB / 1.276 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1861/2.935, allocations: 75.53 MB / 1.35 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/2.936, allocations: 180.6 kB / 1.35 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.057/6.992, allocations: 0 / 1.35 GB, free: 225.6 MB / 0.8542 GB