Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.206/2.206, 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.001576/0.001575, allocations: 182.5 kB / 325.5 MB, free: 2.906 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.503/2.503, 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.001168/0.001168, allocations: 101.4 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 16.03 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2356, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.956/1.192, allocations: 164.4 MB / 1.059 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/1.192, allocations: 100.3 kB / 1.059 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6737/1.866, allocations: 180.5 MB / 1.236 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.036e-06/1.866, allocations: 0 / 1.236 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004482/1.866, allocations: 123.9 kB / 1.236 GB, free: 8.465 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0195/1.886, allocations: 4.112 MB / 1.24 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/1.886, allocations: 12.03 kB / 1.24 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004015/1.89, allocations: 0.6819 MB / 1.241 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.901, allocations: 0.9542 MB / 1.241 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.913, allocations: 2.987 MB / 1.244 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005829/1.913, allocations: 349.3 kB / 1.245 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/1.916, allocations: 459.9 kB / 1.245 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/1.944, allocations: 7.322 MB / 1.252 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/1.944, allocations: 27.72 kB / 1.252 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002177/1.947, allocations: 208 kB / 1.253 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005696/1.947, allocations: 277 kB / 1.253 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/1.966, allocations: 5.18 MB / 1.258 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0631/2.03, allocations: 35.08 MB / 1.292 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/2.035, allocations: 2.138 MB / 1.294 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/2.035, allocations: 13.31 kB / 1.294 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/2.035, allocations: 59.81 kB / 1.294 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=133): time 4.007e-06/2.035, allocations: 0 / 1.294 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of matching and sorting (n=136): time 0.02521/2.06, allocations: 7.069 MB / 1.301 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/2.06, allocations: 68.7 kB / 1.301 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/2.063, allocations: 1.264 MB / 1.302 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003658/2.064, allocations: 49.7 kB / 1.303 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002187/2.066, allocations: 1.984 MB / 1.304 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009087/2.067, allocations: 489 kB / 1.305 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/2.067, allocations: 39.94 kB / 1.305 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002279/2.067, allocations: 381.9 kB / 1.305 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/2.07, allocations: 0.8979 MB / 1.306 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/2.073, allocations: 1.555 MB / 1.308 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/2.077, allocations: 1.17 MB / 1.309 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/2.077, allocations: 4 kB / 1.309 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0114/2.088, allocations: 3.484 MB / 1.312 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/2.088, allocations: 12 kB / 1.312 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/2.088, allocations: 27.94 kB / 1.312 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004818/2.093, allocations: 0.8963 MB / 1.313 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/2.096, allocations: 351.4 kB / 1.314 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03296/2.129, allocations: 21.56 MB / 1.335 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/2.131, allocations: 104 kB / 1.335 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/2.132, allocations: 84 kB / 1.335 GB, free: 12.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005123/2.137, allocations: 1.612 MB / 1.336 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007478/2.138, allocations: 209.5 kB / 1.337 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/2.148, allocations: 2.967 MB / 1.339 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/2.148, allocations: 12 kB / 1.339 GB, free: 8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/2.148, allocations: 12 kB / 1.339 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/2.148, allocations: 3.984 kB / 1.339 GB, free: 7.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/2.172, allocations: 7.266 MB / 1.347 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/2.172, allocations: 4 kB / 1.347 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/2.174, allocations: 175.7 kB / 1.347 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004615/2.179, allocations: 0.83 MB / 1.348 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/2.179, allocations: 28 kB / 1.348 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03141/2.211, allocations: 20.63 MB / 1.368 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/2.211, allocations: 4 kB / 1.368 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/2.221, allocations: 3.294 MB / 1.371 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/2.223, allocations: 462.4 kB / 1.371 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006653/2.223, allocations: 31.98 kB / 1.371 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/2.225, allocations: 67.92 kB / 1.371 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006238/2.226, allocations: 133.1 kB / 1.372 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/2.226, allocations: 36 kB / 1.372 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00252/2.228, allocations: 0.96 MB / 1.373 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.92e-07/2.229, allocations: 0 / 1.373 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005177/2.234, allocations: 0.8281 MB / 1.373 GB, free: 3.059 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/2.245, allocations: 5.042 MB / 1.378 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01074/2.256, allocations: 3.988 MB / 1.382 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.256, allocations: 0 / 1.382 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00679/2.262, allocations: 2.732 MB / 1.385 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/2.268, allocations: 0.6416 MB / 1.385 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6899/2.958, allocations: 33.48 MB / 1.418 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009207/2.967, allocations: 3.196 MB / 1.421 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002812/2.97, allocations: 453.7 kB / 1.422 GB, free: 205 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003896/2.974, allocations: 1.545 MB / 1.423 GB, free: 205 MB / 0.8855 GB Notification: Performance of SimCode: time 1.223e-06/2.974, allocations: 0 / 1.423 GB, free: 205 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/3.118, allocations: 59.42 MB / 1.481 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/3.119, allocations: 220 kB / 1.481 GB, free: 203 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/7.346, allocations: 0 / 1.481 GB, free: 203 MB / 0.8855 GB