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.218/2.218, allocations: 251 MB / 265.9 MB, free: 11.68 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.001465/0.001465, allocations: 179.2 kB / 325.5 MB, free: 2.898 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.352/2.352, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001244/0.001243, allocations: 106.7 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006662/0.0006664, allocations: 13 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2255, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9404/1.166, allocations: 165.1 MB / 1.06 GB, free: 64.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004531/1.166, allocations: 95.91 kB / 1.06 GB, free: 64.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8458/2.012, allocations: 202.2 MB / 1.258 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.677e-06/2.012, allocations: 4 kB / 1.258 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005398/2.013, allocations: 144 kB / 1.258 GB, free: 1.594 MB / 0.7448 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.02516/2.038, allocations: 5.246 MB / 1.263 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.038, allocations: 8.031 kB / 1.263 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004962/2.043, allocations: 0.841 MB / 1.264 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/2.055, allocations: 1.14 MB / 1.265 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/2.07, allocations: 3.696 MB / 1.268 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007298/2.071, allocations: 435.5 kB / 1.269 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/2.075, allocations: 0.5468 MB / 1.269 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03437/2.109, allocations: 8.819 MB / 1.278 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/2.109, allocations: 23.73 kB / 1.278 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002604/2.112, allocations: 255.9 kB / 1.278 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005566/2.113, allocations: 303 kB / 1.278 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/2.136, allocations: 6.441 MB / 1.285 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08411/2.22, allocations: 41.46 MB / 1.325 GB, free: 8.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008852/2.229, allocations: 3.099 MB / 1.328 GB, free: 4.969 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/2.229, allocations: 22 kB / 1.328 GB, free: 4.949 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.196e-05/2.23, allocations: 72.41 kB / 1.328 GB, free: 4.871 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 4.92e-06/2.23, allocations: 0 / 1.328 GB, free: 4.871 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.04774/2.277, allocations: 10.47 MB / 1.339 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/2.277, allocations: 73.41 kB / 1.339 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/2.282, allocations: 1.677 MB / 1.34 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005816/2.283, allocations: 65.64 kB / 1.34 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002666/2.285, allocations: 2.365 MB / 1.343 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/2.287, allocations: 0.7317 MB / 1.343 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/2.287, allocations: 48 kB / 1.343 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003245/2.288, allocations: 415.1 kB / 1.344 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/2.292, allocations: 1.321 MB / 1.345 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/2.297, allocations: 2.105 MB / 1.347 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/2.301, allocations: 1.677 MB / 1.349 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/2.302, allocations: 8 kB / 1.349 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01621/2.318, allocations: 4.972 MB / 1.354 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/2.318, allocations: 17.72 kB / 1.354 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-05/2.318, allocations: 24.84 kB / 1.354 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/2.324, allocations: 1.539 MB / 1.355 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/2.328, allocations: 443.2 kB / 1.356 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03939/2.367, allocations: 17.67 MB / 1.373 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/2.371, allocations: 143.9 kB / 1.373 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000701/2.372, allocations: 111.9 kB / 1.373 GB, free: 5.91 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 () * Number of clocked 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.006092/2.378, allocations: 1.941 MB / 1.375 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/2.379, allocations: 296.7 kB / 1.375 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/2.393, allocations: 4.443 MB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/2.393, allocations: 20 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/2.393, allocations: 16 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/2.393, allocations: 11.95 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03154/2.425, allocations: 9.637 MB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/2.425, allocations: 4 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/2.427, allocations: 236.2 kB / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006188/2.434, allocations: 1.401 MB / 1.391 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005215/2.434, allocations: 44 kB / 1.391 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7486/3.183, allocations: 17.68 MB / 1.408 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/3.183, allocations: 10.11 kB / 1.408 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/3.196, allocations: 4.877 MB / 1.413 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/3.198, allocations: 0.6318 MB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/3.199, allocations: 42.62 kB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/3.201, allocations: 116.5 kB / 1.414 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008025/3.202, allocations: 178.5 kB / 1.414 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/3.202, allocations: 57.91 kB / 1.414 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002789/3.205, allocations: 1.262 MB / 1.415 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/3.205, allocations: 0 / 1.415 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005807/3.211, allocations: 1.174 MB / 1.416 GB, free: 208.3 MB / 0.8855 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 (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.01283/3.224, allocations: 6.599 MB / 1.423 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01144/3.235, allocations: 4.611 MB / 1.427 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/3.235, allocations: 3.906 kB / 1.427 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007775/3.243, allocations: 2.91 MB / 1.43 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/3.249, allocations: 0.7663 MB / 1.431 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08421/3.333, allocations: 42.95 MB / 1.473 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009023/3.343, allocations: 3.787 MB / 1.476 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003517/3.346, allocations: 0.5468 MB / 1.477 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004539/3.351, allocations: 1.944 MB / 1.479 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.693e-06/3.351, allocations: 0 / 1.479 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1978/3.549, allocations: 81.17 MB / 1.558 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/3.549, allocations: 233.4 kB / 1.558 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.34/8.889, allocations: 0 / 1.558 GB, free: 163.1 MB / 0.8855 GB