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_R_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.ACLine_R_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.373/2.373, allocations: 248.5 MB / 261.1 MB, free: 5.992 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.001608/0.001608, allocations: 178.5 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 2.026/2.026, allocations: 205.2 MB / 0.571 GB, free: 11.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.001209/0.001208, allocations: 90.48 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.661e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.196, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.218, allocations: 165 MB / 1.052 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.219, allocations: 92.94 kB / 1.052 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8208/2.04, allocations: 201.3 MB / 1.249 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.316e-06/2.04, allocations: 0 / 1.249 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007966/2.04, allocations: 147.9 kB / 1.249 GB, free: 15.39 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.03322/2.074, allocations: 4.871 MB / 1.253 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001042/2.074, allocations: 8.031 kB / 1.253 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006037/2.08, allocations: 0.8214 MB / 1.254 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/2.098, allocations: 1.133 MB / 1.255 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/2.12, allocations: 3.693 MB / 1.259 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009306/2.121, allocations: 431.6 kB / 1.259 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003968/2.125, allocations: 0.5507 MB / 1.26 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6845/2.809, allocations: 8.705 MB / 1.268 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003861/2.81, allocations: 21.36 kB / 1.268 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002626/2.812, allocations: 259.9 kB / 1.269 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006092/2.813, allocations: 297 kB / 1.269 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/2.837, allocations: 6.324 MB / 1.275 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0729/2.91, allocations: 41.46 MB / 1.316 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/2.918, allocations: 3.073 MB / 1.319 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005359/2.924, allocations: 2.133 MB / 1.321 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/2.924, allocations: 21.62 kB / 1.321 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.184e-05/2.924, allocations: 58 kB / 1.321 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=209): time 6.052e-06/2.924, allocations: 0 / 1.321 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=212): time 0.02118/2.945, allocations: 6.588 MB / 1.327 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/2.945, allocations: 73.16 kB / 1.327 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/2.949, allocations: 1.654 MB / 1.329 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005686/2.95, allocations: 65.17 kB / 1.329 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001831/2.952, allocations: 2.367 MB / 1.331 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/2.953, allocations: 0.7294 MB / 1.332 GB, free: 167 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/2.953, allocations: 55.27 kB / 1.332 GB, free: 167 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001844/2.953, allocations: 413.8 kB / 1.332 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/2.956, allocations: 1.293 MB / 1.334 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/2.96, allocations: 2.081 MB / 1.336 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/2.963, allocations: 1.666 MB / 1.337 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/2.964, allocations: 8.781 kB / 1.337 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01314/2.977, allocations: 4.93 MB / 1.342 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/2.977, allocations: 18.03 kB / 1.342 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/2.977, allocations: 26.44 kB / 1.342 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005716/2.983, allocations: 1.516 MB / 1.344 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/2.986, allocations: 446.5 kB / 1.344 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03033/3.016, allocations: 16.95 MB / 1.361 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/3.02, allocations: 152 kB / 1.361 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/3.02, allocations: 105.1 kB / 1.361 GB, free: 156.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006715/3.021, allocations: 257.8 kB / 1.361 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009583/3.022, allocations: 291.3 kB / 1.361 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/3.033, allocations: 4.407 MB / 1.366 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/3.033, allocations: 20.66 kB / 1.366 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/3.033, allocations: 17.09 kB / 1.366 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.985e-05/3.033, allocations: 11.44 kB / 1.366 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/3.059, allocations: 9.6 MB / 1.375 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/3.059, allocations: 11.22 kB / 1.375 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/3.061, allocations: 237 kB / 1.375 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/3.067, allocations: 1.392 MB / 1.377 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004468/3.067, allocations: 42.44 kB / 1.377 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03137/3.099, allocations: 16.99 MB / 1.393 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/3.099, allocations: 3.812 kB / 1.393 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/3.11, allocations: 4.836 MB / 1.398 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/3.112, allocations: 0.6286 MB / 1.399 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/3.113, allocations: 46.5 kB / 1.399 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/3.116, allocations: 110.5 kB / 1.399 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006913/3.117, allocations: 187 kB / 1.399 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/3.117, allocations: 60.34 kB / 1.399 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002461/3.119, allocations: 1.241 MB / 1.4 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.72e-07/3.119, allocations: 0 / 1.4 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005983/3.125, allocations: 1.175 MB / 1.401 GB, free: 137.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01237/3.138, allocations: 6.561 MB / 1.408 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01144/3.149, allocations: 4.527 MB / 1.412 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/3.149, allocations: 3.812 kB / 1.412 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007558/3.157, allocations: 2.867 MB / 1.415 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/3.163, allocations: 0.7619 MB / 1.416 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/3.19, allocations: 8.887 MB / 1.425 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007243/3.197, allocations: 3.783 MB / 1.428 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003373/3.2, allocations: 0.5443 MB / 1.429 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003974/3.204, allocations: 1.939 MB / 1.431 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.034e-06/3.204, allocations: 0 / 1.431 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1844/3.389, allocations: 81.71 MB / 1.51 GB, free: 73.26 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/3.389, allocations: 203.2 kB / 1.511 GB, free: 73.03 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.909/8.299, allocations: 7.375 kB / 1.511 GB, free: 73.02 MB / 0.8698 GB