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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.468/2.468, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001435/0.001435, allocations: 185.1 kB / 315.4 MB, free: 4 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.2/2.2, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001151/0.001151, allocations: 94.02 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.15e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.143, allocations: 160.6 MB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.143, allocations: 98.17 kB / 1.041 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.247/1.39, allocations: 60.14 MB / 1.1 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.535e-06/1.391, allocations: 0 / 1.1 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000151/1.391, allocations: 32 kB / 1.1 GB, free: 9.055 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.006119/1.397, allocations: 1.51 MB / 1.101 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.397, allocations: 8.031 kB / 1.101 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/1.402, allocations: 481.3 kB / 1.102 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/1.406, allocations: 1.132 MB / 1.103 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.406, allocations: 48 kB / 1.103 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008507/1.407, allocations: 88 kB / 1.103 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006033/1.413, allocations: 1.964 MB / 1.105 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/1.421, allocations: 2.541 MB / 1.107 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/1.421, allocations: 11.88 kB / 1.107 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/1.421, allocations: 4 kB / 1.107 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008044/1.422, allocations: 154.9 kB / 1.108 GB, free: 2.027 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/1.453, allocations: 13.75 MB / 1.121 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/1.456, allocations: 1.283 MB / 1.122 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/1.459, allocations: 1.082 MB / 1.123 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/1.459, allocations: 12.77 kB / 1.123 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.459, allocations: 47.33 kB / 1.123 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.617e-06/1.459, allocations: 4 kB / 1.123 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139): time 0.04702/1.506, allocations: 8.994 MB / 1.132 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/1.506, allocations: 72.66 kB / 1.132 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.508, allocations: 0.8784 MB / 1.133 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003992/1.509, allocations: 25.7 kB / 1.133 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/1.509, allocations: 0.7244 MB / 1.134 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/1.51, allocations: 465 kB / 1.134 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.511, allocations: 0 / 1.134 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002892/1.511, allocations: 418.7 kB / 1.135 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.514, allocations: 1.425 MB / 1.136 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/1.518, allocations: 1.722 MB / 1.138 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/1.525, allocations: 1.984 MB / 1.14 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/1.525, allocations: 8 kB / 1.14 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.02069/1.546, allocations: 5.568 MB / 1.145 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.546, allocations: 8 kB / 1.145 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.546, allocations: 8 kB / 1.145 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/1.561, allocations: 2.695 MB / 1.148 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.562, allocations: 227.6 kB / 1.148 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03811/1.601, allocations: 15.2 MB / 1.163 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/1.603, allocations: 71.86 kB / 1.163 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/1.604, allocations: 164 kB / 1.163 GB, free: 7.602 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005503/1.604, allocations: 128.7 kB / 1.163 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01762/1.622, allocations: 4.791 MB / 1.168 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.623, allocations: 110.7 kB / 1.168 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/1.641, allocations: 5.05 MB / 1.173 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/1.641, allocations: 12 kB / 1.173 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/1.641, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/1.641, allocations: 7.984 kB / 1.173 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.67, allocations: 8.155 MB / 1.181 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/1.67, allocations: 8.094 kB / 1.181 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.671, allocations: 119.8 kB / 1.181 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01398/1.685, allocations: 2.526 MB / 1.183 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000403/1.685, allocations: 35.94 kB / 1.183 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/1.719, allocations: 12.81 MB / 1.196 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.719, allocations: 11.94 kB / 1.196 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/1.737, allocations: 4.954 MB / 1.201 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.739, allocations: 0.601 MB / 1.201 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/1.74, allocations: 8 kB / 1.201 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.741, allocations: 55.78 kB / 1.201 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/1.742, allocations: 137 kB / 1.202 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003552/1.742, allocations: 111.9 kB / 1.202 GB, free: 15.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001828/1.744, allocations: 0.667 MB / 1.202 GB, free: 14.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.042e-06/1.744, allocations: 0 / 1.202 GB, free: 14.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003651/1.748, allocations: 0.5195 MB / 1.203 GB, free: 14.12 MB / 0.823 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0192/1.767, allocations: 6.667 MB / 1.209 GB, free: 7.305 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.779, allocations: 3.904 MB / 1.213 GB, free: 3.379 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.779, allocations: 0 / 1.213 GB, free: 3.379 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008932/1.788, allocations: 2.285 MB / 1.215 GB, free: 1.074 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.79, allocations: 162.5 kB / 1.216 GB, free: 0.918 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.802, allocations: 3.689 MB / 1.219 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.804, allocations: 1.689 MB / 1.221 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001909/1.806, allocations: 397 kB / 1.221 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.808, allocations: 0.55 MB / 1.222 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of SimCode: time 1.302e-06/1.808, allocations: 4 kB / 1.222 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7851/2.593, allocations: 50.52 MB / 1.271 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/2.593, allocations: 175.3 kB / 1.271 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/6.446, allocations: 0 / 1.271 GB, free: 264.4 MB / 0.8542 GB