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.482/1.482, allocations: 252 MB / 267.3 MB, free: 10.82 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.001285/0.001285, allocations: 169.5 kB / 327 MB, free: 2.121 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.953/1.953, allocations: 205.4 MB / 0.578 GB, free: 20.44 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.0009021/0.000902, allocations: 100.5 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 8.938 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 106.3 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03135/0.2879, allocations: 36.29 MB / 0.9364 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.3095, allocations: 12.92 MB / 0.949 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/0.3152, allocations: 147.1 kB / 0.9491 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.3187, allocations: 0.7636 MB / 0.9499 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00845/0.3272, allocations: 2.345 MB / 0.9522 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.3347, allocations: 2.303 MB / 0.9544 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01539/0.3501, allocations: 13.3 MB / 0.9674 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02215/0.3723, allocations: 13.2 MB / 0.9803 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.379, allocations: 2.999 MB / 0.9832 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008239/0.3873, allocations: 3.865 MB / 0.987 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002052/0.3894, allocations: 320 kB / 0.9873 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.3953, allocations: 1.63 MB / 0.9889 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003417/0.3987, allocations: 2.463 MB / 0.9913 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005112/0.4038, allocations: 2.932 MB / 0.9942 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.4181, allocations: 11.29 MB / 1.005 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4181, allocations: 0 / 1.005 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4181, allocations: 0 / 1.005 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000426/0.4186, allocations: 0 / 1.005 GB, free: 4.59 MB / 0.6511 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.01521/0.4338, allocations: 5.139 MB / 1.01 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.4338, allocations: 20.02 kB / 1.01 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003447/0.4373, allocations: 0.748 MB / 1.011 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4477, allocations: 1.297 MB / 1.012 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009506/0.4573, allocations: 3.572 MB / 1.016 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.4578, allocations: 382.5 kB / 1.016 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.4601, allocations: 0.4963 MB / 1.017 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.4858, allocations: 8.89 MB / 1.025 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/0.486, allocations: 27.72 kB / 1.025 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.4876, allocations: 223.9 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/0.4898, allocations: 0.6304 MB / 1.026 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.5081, allocations: 7.01 MB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6433/1.151, allocations: 40.39 MB / 1.072 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/1.158, allocations: 2.899 MB / 1.075 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005361/1.164, allocations: 2.665 MB / 1.078 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.164, allocations: 27.56 kB / 1.078 GB, free: 116.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/1.164, allocations: 70.06 kB / 1.078 GB, free: 116.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 5.551e-06/1.164, allocations: 0 / 1.078 GB, free: 116.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3003/1.465, allocations: 77.5 MB / 1.154 GB, free: 59.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/1.465, allocations: 94.73 kB / 1.154 GB, free: 59.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.468, allocations: 2.348 MB / 1.156 GB, free: 57.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007765/1.469, allocations: 97.7 kB / 1.156 GB, free: 57.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.47, allocations: 2.339 MB / 1.158 GB, free: 54.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.472, allocations: 1.438 MB / 1.16 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/1.472, allocations: 88 kB / 1.16 GB, free: 53.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.473, allocations: 483.3 kB / 1.16 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/1.476, allocations: 2.999 MB / 1.163 GB, free: 49.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/1.48, allocations: 3.835 MB / 1.167 GB, free: 45.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00824/1.488, allocations: 7.391 MB / 1.174 GB, free: 37.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.488, allocations: 4 kB / 1.174 GB, free: 37.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02525/1.514, allocations: 12.56 MB / 1.186 GB, free: 25.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.514, allocations: 12 kB / 1.186 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/1.514, allocations: 24 kB / 1.186 GB, free: 25.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02193/1.536, allocations: 6.021 MB / 1.192 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.538, allocations: 491.2 kB / 1.193 GB, free: 18.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07955/1.618, allocations: 67.3 MB / 1.259 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/1.622, allocations: 219.8 kB / 1.259 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008081/1.623, allocations: 152 kB / 1.259 GB, free: 11.73 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004889/1.628, allocations: 1.996 MB / 1.261 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.629, allocations: 391.4 kB / 1.261 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02891/1.658, allocations: 12.24 MB / 1.273 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/1.658, allocations: 40 kB / 1.273 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001718/1.658, allocations: 48 kB / 1.273 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/1.658, allocations: 19.92 kB / 1.273 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/1.702, allocations: 19.16 MB / 1.292 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/1.702, allocations: 8.125 kB / 1.292 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.704, allocations: 291.5 kB / 1.292 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02147/1.725, allocations: 5.583 MB / 1.298 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000728/1.726, allocations: 83.98 kB / 1.298 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0758/1.802, allocations: 64.9 MB / 1.361 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.802, allocations: 11.94 kB / 1.361 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4942/2.296, allocations: 15.62 MB / 1.376 GB, free: 271.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003145/2.299, allocations: 1.045 MB / 1.378 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008464/2.3, allocations: 83.36 kB / 1.378 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/2.303, allocations: 219 kB / 1.378 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001512/2.304, allocations: 402 kB / 1.378 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/2.304, allocations: 111.6 kB / 1.378 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001935/2.306, allocations: 1.557 MB / 1.38 GB, free: 271.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/2.306, allocations: 0 / 1.38 GB, free: 271.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005866/2.312, allocations: 1.843 MB / 1.382 GB, free: 271.5 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 () * 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03815/2.35, allocations: 16.3 MB / 1.398 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0211/2.372, allocations: 12.2 MB / 1.409 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/2.372, allocations: 6.406 kB / 1.409 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/2.388, allocations: 8.396 MB / 1.418 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008433/2.396, allocations: 1.111 MB / 1.419 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/2.506, allocations: 62.81 MB / 1.48 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004611/2.51, allocations: 4.082 MB / 1.484 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002705/2.513, allocations: 0.6669 MB / 1.485 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/2.515, allocations: 2.132 MB / 1.487 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/2.515, allocations: 4 kB / 1.487 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/2.704, allocations: 144.3 MB / 1.628 GB, free: 65.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/2.704, allocations: 268.2 kB / 1.628 GB, free: 65.11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/9.283, allocations: 2.109 kB / 1.628 GB, free: 65.11 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)