Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.848 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.0009812/0.0009812, allocations: 192.3 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.3 MB / 0.5671 GB, free: 15.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.0008757/0.0008756, allocations: 90.53 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.219e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7231/0.9219, allocations: 178.9 MB / 1.06 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.9222, allocations: 93.75 kB / 1.06 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.14/2.062, allocations: 266.3 MB / 1.32 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.815e-06/2.062, allocations: 3.656 kB / 1.32 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005145/2.063, allocations: 150.3 kB / 1.32 GB, free: 197.7 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01908/2.082, allocations: 4.624 MB / 1.325 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/2.082, allocations: 9.062 kB / 1.325 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/2.094, allocations: 1.488 MB / 1.326 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/2.106, allocations: 4.206 MB / 1.33 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/2.106, allocations: 162.8 kB / 1.331 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002711/2.109, allocations: 300.4 kB / 1.331 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01245/2.121, allocations: 5.576 MB / 1.336 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/2.139, allocations: 7.536 MB / 1.344 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/2.139, allocations: 30.92 kB / 1.344 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009441/2.14, allocations: 25.34 kB / 1.344 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003268/2.141, allocations: 321.2 kB / 1.344 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04669/2.187, allocations: 38.9 MB / 1.382 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/2.191, allocations: 2.708 MB / 1.385 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/2.194, allocations: 2.483 MB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/2.194, allocations: 28.25 kB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/2.194, allocations: 60.16 kB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.919e-06/2.194, allocations: 0 / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.06304/2.257, allocations: 27.36 MB / 1.414 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/2.257, allocations: 94.73 kB / 1.414 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/2.26, allocations: 1.632 MB / 1.416 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009893/2.261, allocations: 25.7 kB / 1.416 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/2.262, allocations: 2.364 MB / 1.418 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/2.263, allocations: 1.378 MB / 1.419 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/2.263, allocations: 0 / 1.419 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001901/2.264, allocations: 485.8 kB / 1.42 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00294/2.267, allocations: 2.64 MB / 1.422 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/2.27, allocations: 3.582 MB / 1.426 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/2.273, allocations: 3.239 MB / 1.429 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/2.273, allocations: 8 kB / 1.429 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02168/2.295, allocations: 11.15 MB / 1.44 GB, free: 124 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/2.295, allocations: 20.03 kB / 1.44 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/2.295, allocations: 28 kB / 1.44 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/2.311, allocations: 4.892 MB / 1.445 GB, free: 119 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/2.313, allocations: 0.5031 MB / 1.445 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05819/2.371, allocations: 62.29 MB / 1.506 GB, free: 53.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/2.376, allocations: 99.92 kB / 1.506 GB, free: 53.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/2.377, allocations: 160 kB / 1.506 GB, free: 53.36 MB / 0.8542 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 () * 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.0008084/2.377, allocations: 188.1 kB / 1.506 GB, free: 53.17 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02114/2.399, allocations: 10.43 MB / 1.517 GB, free: 42.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.4, allocations: 371.6 kB / 1.517 GB, free: 42.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02268/2.423, allocations: 11.01 MB / 1.528 GB, free: 31.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/2.423, allocations: 40 kB / 1.528 GB, free: 31.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/2.423, allocations: 51 kB / 1.528 GB, free: 31.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.512e-05/2.423, allocations: 19.92 kB / 1.528 GB, free: 31.06 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/2.455, allocations: 16.54 MB / 1.544 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.662e-05/2.456, allocations: 8.938 kB / 1.544 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/2.457, allocations: 287.6 kB / 1.544 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/2.472, allocations: 4.416 MB / 1.549 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008768/2.472, allocations: 16 kB / 1.549 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6152/3.088, allocations: 60.01 MB / 1.607 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/3.088, allocations: 13.09 kB / 1.607 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/3.122, allocations: 14.71 MB / 1.622 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/3.125, allocations: 0.9528 MB / 1.622 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009813/3.126, allocations: 19.3 kB / 1.623 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/3.128, allocations: 110.1 kB / 1.623 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001587/3.13, allocations: 400.6 kB / 1.623 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/3.13, allocations: 107.2 kB / 1.623 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00194/3.132, allocations: 1.194 MB / 1.624 GB, free: 170 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/3.132, allocations: 0 / 1.624 GB, free: 170 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008794/3.141, allocations: 1.534 MB / 1.626 GB, free: 170 MB / 0.8698 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 () * 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.02751/3.169, allocations: 17.1 MB / 1.642 GB, free: 166 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01756/3.186, allocations: 10.95 MB / 1.653 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/3.186, allocations: 3.375 kB / 1.653 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/3.201, allocations: 7.604 MB / 1.661 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005444/3.206, allocations: 0.8655 MB / 1.661 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/3.226, allocations: 11.17 MB / 1.672 GB, free: 157 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005024/3.231, allocations: 4.188 MB / 1.676 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002538/3.233, allocations: 0.6564 MB / 1.677 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/3.235, allocations: 2.123 MB / 1.679 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.11e-07/3.235, allocations: 0 / 1.679 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/3.413, allocations: 131.1 MB / 1.807 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/3.413, allocations: 172.8 kB / 1.807 GB, free: 77.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/8.501, allocations: 4.031 kB / 1.807 GB, free: 77.39 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)