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_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.ACLine_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.49/2.49, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001468/0.001468, allocations: 182.2 kB / 315.4 MB, free: 4.008 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.228/2.228, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 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.00109/0.00109, allocations: 93.98 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.084e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9567/1.152, allocations: 179.7 MB / 1.06 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/1.153, allocations: 95.62 kB / 1.06 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/3.076, allocations: 317.8 MB / 1.37 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.346e-06/3.076, allocations: 0 / 1.37 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006758/3.077, allocations: 173.9 kB / 1.37 GB, free: 190.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02638/3.103, allocations: 5.505 MB / 1.376 GB, free: 188 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/3.103, allocations: 10.94 kB / 1.376 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02154/3.125, allocations: 1.761 MB / 1.377 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02776/3.153, allocations: 5.03 MB / 1.382 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/3.153, allocations: 196.2 kB / 1.382 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003514/3.157, allocations: 361.2 kB / 1.383 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02216/3.179, allocations: 6.827 MB / 1.39 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/3.213, allocations: 8.987 MB / 1.398 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004449/3.213, allocations: 27.62 kB / 1.398 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00315/3.216, allocations: 16 kB / 1.398 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005712/3.217, allocations: 380.1 kB / 1.399 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08375/3.301, allocations: 45.11 MB / 1.443 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008621/3.309, allocations: 4.045 MB / 1.447 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008103/3.317, allocations: 3.454 MB / 1.45 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/3.318, allocations: 34.78 kB / 1.45 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/3.318, allocations: 73.33 kB / 1.45 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 7.264e-06/3.318, allocations: 0 / 1.45 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.1683/3.486, allocations: 37.3 MB / 1.487 GB, free: 77.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/3.487, allocations: 111.9 kB / 1.487 GB, free: 77.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/3.49, allocations: 1.825 MB / 1.488 GB, free: 75.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0015/3.492, allocations: 25.7 kB / 1.489 GB, free: 75.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/3.494, allocations: 2.704 MB / 1.491 GB, free: 73.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003202/3.497, allocations: 1.874 MB / 1.493 GB, free: 71.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/3.498, allocations: 4 kB / 1.493 GB, free: 71.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003914/3.499, allocations: 0.5259 MB / 1.494 GB, free: 70.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008603/3.507, allocations: 3.611 MB / 1.497 GB, free: 67.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/3.517, allocations: 4.705 MB / 1.502 GB, free: 62.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/3.528, allocations: 4.41 MB / 1.506 GB, free: 57.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.627e-05/3.528, allocations: 12 kB / 1.506 GB, free: 57.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06081/3.589, allocations: 15.17 MB / 1.521 GB, free: 42.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/3.589, allocations: 23.98 kB / 1.521 GB, free: 42.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/3.589, allocations: 28 kB / 1.521 GB, free: 42.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04266/3.632, allocations: 7.311 MB / 1.528 GB, free: 34.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/3.636, allocations: 0.546 MB / 1.528 GB, free: 34.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8122/4.449, allocations: 65.16 MB / 1.592 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008043/4.457, allocations: 129.2 kB / 1.592 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/4.459, allocations: 201.6 kB / 1.592 GB, free: 177.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002367/4.461, allocations: 193.5 kB / 1.593 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06407/4.525, allocations: 14.37 MB / 1.607 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002731/4.528, allocations: 450.4 kB / 1.607 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0657/4.594, allocations: 15.16 MB / 1.622 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/4.594, allocations: 53.56 kB / 1.622 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000241/4.594, allocations: 73.72 kB / 1.622 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001311/4.594, allocations: 31.92 kB / 1.622 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07433/4.669, allocations: 22.28 MB / 1.644 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.872e-05/4.669, allocations: 7.906 kB / 1.644 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/4.672, allocations: 325.8 kB / 1.644 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03749/4.71, allocations: 6.73 MB / 1.651 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/4.711, allocations: 18.11 kB / 1.651 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1288/4.84, allocations: 62.23 MB / 1.711 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/4.84, allocations: 10.31 kB / 1.711 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06109/4.901, allocations: 20.16 MB / 1.731 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005341/4.906, allocations: 1.242 MB / 1.732 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/4.908, allocations: 16.73 kB / 1.732 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006291/4.915, allocations: 146.7 kB / 1.733 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002726/4.917, allocations: 0.5159 MB / 1.733 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000909/4.918, allocations: 136.3 kB / 1.733 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002838/4.921, allocations: 1.339 MB / 1.734 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.92e-07/4.921, allocations: 3.938 kB / 1.734 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01244/4.934, allocations: 2.008 MB / 1.736 GB, free: 130.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06406/4.998, allocations: 22.51 MB / 1.758 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03806/5.036, allocations: 12.99 MB / 1.771 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/5.036, allocations: 0 / 1.771 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02728/5.063, allocations: 8.492 MB / 1.779 GB, free: 94.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009505/5.073, allocations: 0.9733 MB / 1.78 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04648/5.119, allocations: 14.41 MB / 1.794 GB, free: 81.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/5.131, allocations: 5.014 MB / 1.799 GB, free: 77.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00507/5.136, allocations: 0.7233 MB / 1.8 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005729/5.142, allocations: 2.577 MB / 1.803 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of SimCode: time 3.327e-06/5.142, allocations: 0 / 1.803 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/6.238, allocations: 170 MB / 1.969 GB, free: 201.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/6.238, allocations: 163.3 kB / 1.969 GB, free: 201.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/14.57, allocations: 1.594 kB / 1.969 GB, free: 201.3 MB / 0.9011 GB