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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.233/2.233, 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.002042/0.002042, allocations: 179.6 kB / 325.5 MB, free: 2.914 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.308/2.308, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.00126/0.00126, allocations: 99.66 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 14.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2524, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9696/1.222, allocations: 178.5 MB / 1.073 GB, free: 66.05 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/1.223, allocations: 100.2 kB / 1.073 GB, free: 66.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.086/2.308, allocations: 268.9 MB / 1.336 GB, free: 1.199 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.276e-06/2.308, allocations: 0 / 1.336 GB, free: 1.199 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006806/2.309, allocations: 147.8 kB / 1.336 GB, free: 1.055 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02646/2.335, allocations: 5.149 MB / 1.341 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/2.336, allocations: 8.031 kB / 1.341 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00463/2.34, allocations: 0.7521 MB / 1.342 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/2.36, allocations: 1.495 MB / 1.343 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/2.379, allocations: 4.223 MB / 1.347 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006166/2.379, allocations: 382.1 kB / 1.348 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003139/2.382, allocations: 0.4998 MB / 1.348 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/2.415, allocations: 8.376 MB / 1.356 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/2.415, allocations: 27.69 kB / 1.356 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/2.418, allocations: 231.9 kB / 1.357 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006327/2.418, allocations: 325.9 kB / 1.357 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/2.441, allocations: 6.453 MB / 1.363 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7942/3.236, allocations: 39.99 MB / 1.402 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008352/3.244, allocations: 2.812 MB / 1.405 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/3.245, allocations: 26.75 kB / 1.405 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/3.245, allocations: 60.77 kB / 1.405 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 6.362e-06/3.245, allocations: 0.7188 kB / 1.405 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.5402/3.785, allocations: 64.91 MB / 1.468 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/3.785, allocations: 93.11 kB / 1.469 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/3.789, allocations: 1.934 MB / 1.47 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/3.79, allocations: 95.95 kB / 1.471 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/3.792, allocations: 2.337 MB / 1.473 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002388/3.795, allocations: 1.434 MB / 1.474 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/3.795, allocations: 87.06 kB / 1.474 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003046/3.796, allocations: 493.2 kB / 1.475 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006783/3.802, allocations: 2.774 MB / 1.477 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008037/3.811, allocations: 3.74 MB / 1.481 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/3.819, allocations: 3.369 MB / 1.484 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/3.819, allocations: 14.12 kB / 1.484 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05788/3.877, allocations: 11.77 MB / 1.496 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/3.877, allocations: 16.62 kB / 1.496 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.714e-05/3.877, allocations: 29.69 kB / 1.496 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04535/3.922, allocations: 5.021 MB / 1.501 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/3.928, allocations: 0.501 MB / 1.501 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1363/4.065, allocations: 66.88 MB / 1.567 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006554/4.071, allocations: 195.8 kB / 1.567 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/4.073, allocations: 157.4 kB / 1.567 GB, free: 101.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006649/4.079, allocations: 2.001 MB / 1.569 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/4.081, allocations: 383.2 kB / 1.569 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04873/4.13, allocations: 11.56 MB / 1.581 GB, free: 91.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/4.13, allocations: 41.78 kB / 1.581 GB, free: 91.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002509/4.13, allocations: 51.95 kB / 1.581 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/4.131, allocations: 19.03 kB / 1.581 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07055/4.201, allocations: 17.89 MB / 1.598 GB, free: 77.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.123e-05/4.201, allocations: 11.95 kB / 1.598 GB, free: 77.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/4.204, allocations: 289.6 kB / 1.599 GB, free: 77.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02798/4.232, allocations: 4.518 MB / 1.603 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/4.233, allocations: 80 kB / 1.603 GB, free: 73.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1212/4.355, allocations: 64.4 MB / 1.666 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/4.355, allocations: 15.34 kB / 1.666 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05737/4.412, allocations: 15.69 MB / 1.681 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004047/4.416, allocations: 0.9672 MB / 1.682 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/4.417, allocations: 83.42 kB / 1.682 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/4.422, allocations: 174.5 kB / 1.682 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002519/4.425, allocations: 406.8 kB / 1.683 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007895/4.426, allocations: 104 kB / 1.683 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003691/4.429, allocations: 1.463 MB / 1.684 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.82e-07/4.429, allocations: 0 / 1.684 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01112/4.441, allocations: 1.755 MB / 1.686 GB, free: 11.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06163/4.502, allocations: 17.75 MB / 1.703 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.03676/4.539, allocations: 11.62 MB / 1.715 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.319e-05/4.539, allocations: 4.625 kB / 1.715 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.7085/5.248, allocations: 8.221 MB / 1.723 GB, free: 181.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008511/5.256, allocations: 0.9784 MB / 1.724 GB, free: 181.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1272/5.383, allocations: 59.94 MB / 1.782 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/5.394, allocations: 4.19 MB / 1.786 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005189/5.399, allocations: 0.6667 MB / 1.787 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00524/5.404, allocations: 2.138 MB / 1.789 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.472e-06/5.405, allocations: 0 / 1.789 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3006/5.705, allocations: 136.4 MB / 1.922 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/5.705, allocations: 229.6 kB / 1.922 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/12.89, allocations: 0 / 1.922 GB, free: 109.1 MB / 0.9011 GB