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.ACLineMatrix_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.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.454/1.454, allocations: 252 MB / 267 MB, free: 10.98 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.00116/0.001159, allocations: 179.2 kB / 326.6 MB, free: 2.234 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.99/1.99, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007631/0.000763, allocations: 90.3 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.000469, allocations: 13.19 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2653, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007299/0.2726, allocations: 9.019 MB / 0.9091 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.2771, allocations: 2.942 MB / 0.912 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.2779, allocations: 31.81 kB / 0.912 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.2783, allocations: 174.7 kB / 0.9122 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.2797, allocations: 0.5912 MB / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.2807, allocations: 429.7 kB / 0.9132 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.2829, allocations: 3.167 MB / 0.9163 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.2861, allocations: 2.669 MB / 0.9189 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2876, allocations: 0.8601 MB / 0.9197 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.2891, allocations: 1.258 MB / 0.9209 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.2893, allocations: 100 kB / 0.921 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.2899, allocations: 247.7 kB / 0.9213 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.2905, allocations: 0.8419 MB / 0.9221 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.2908, allocations: 352.8 kB / 0.9224 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.2927, allocations: 2.794 MB / 0.9252 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2927, allocations: 0 / 0.9252 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2927, allocations: 4 kB / 0.9252 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.2928, allocations: 0 / 0.9252 GB, free: 38.24 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002462/0.2952, allocations: 1.612 MB / 0.9267 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.371e-05/0.2953, allocations: 12.03 kB / 0.9268 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.2956, allocations: 256.5 kB / 0.927 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.3007, allocations: 0.8834 MB / 0.9279 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.3028, allocations: 1.101 MB / 0.9289 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.3028, allocations: 110.9 kB / 0.929 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.3031, allocations: 136 kB / 0.9292 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.3072, allocations: 3.007 MB / 0.9321 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.3072, allocations: 4 kB / 0.9321 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.3074, allocations: 59.98 kB / 0.9322 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.3076, allocations: 186.9 kB / 0.9324 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.3109, allocations: 2.604 MB / 0.9349 GB, free: 28.07 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.3224, allocations: 13.5 MB / 0.9481 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.3239, allocations: 1.294 MB / 0.9493 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.325, allocations: 1.051 MB / 0.9504 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.325, allocations: 12.64 kB / 0.9504 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.325, allocations: 39.22 kB / 0.9504 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.3251, allocations: 0 / 0.9504 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.06448/0.3895, allocations: 19.44 MB / 0.9694 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3896, allocations: 64.72 kB / 0.9695 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3908, allocations: 0.9144 MB / 0.9704 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.391, allocations: 53.58 kB / 0.9704 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.3915, allocations: 0.7322 MB / 0.9711 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.392, allocations: 489 kB / 0.9716 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3921, allocations: 32 kB / 0.9716 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3923, allocations: 418.7 kB / 0.972 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.3942, allocations: 1.331 MB / 0.9733 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.3962, allocations: 1.655 MB / 0.9749 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.3983, allocations: 1.56 MB / 0.9765 GB, free: 60 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3984, allocations: 4 kB / 0.9765 GB, free: 56 kB / 0.6198 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01212/0.4105, allocations: 5.613 MB / 0.9819 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.4106, allocations: 19.94 kB / 0.982 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.4107, allocations: 8 kB / 0.982 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008945/0.4196, allocations: 2.718 MB / 0.9846 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.4205, allocations: 187.7 kB / 0.9848 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/0.4541, allocations: 23.3 MB / 1.008 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4559, allocations: 91.89 kB / 1.008 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.4561, allocations: 55.98 kB / 1.008 GB, free: 15.48 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.4575, allocations: 0.7393 MB / 1.008 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.4578, allocations: 114.6 kB / 1.009 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.4693, allocations: 5.369 MB / 1.014 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4693, allocations: 19.94 kB / 1.014 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/0.4694, allocations: 27.94 kB / 1.014 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.4694, allocations: 3.984 kB / 1.014 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.4858, allocations: 8.594 MB / 1.022 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.4858, allocations: 8.359 kB / 1.022 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.4863, allocations: 119.8 kB / 1.022 GB, free: 340 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008328/0.4946, allocations: 2.539 MB / 1.025 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.4949, allocations: 36 kB / 1.025 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/0.5251, allocations: 20.85 MB / 1.045 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.5251, allocations: 7.938 kB / 1.045 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.5361, allocations: 5.103 MB / 1.05 GB, free: 3.152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.5373, allocations: 483.4 kB / 1.051 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.5375, allocations: 32 kB / 1.051 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.5384, allocations: 71.91 kB / 1.051 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.5389, allocations: 125 kB / 1.051 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.887e-05/0.539, allocations: 40 kB / 1.051 GB, free: 2.395 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008807/0.5399, allocations: 0.6317 MB / 1.052 GB, free: 1.762 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5399, allocations: 0 / 1.052 GB, free: 1.762 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002295/0.5422, allocations: 0.7148 MB / 1.052 GB, free: 1.047 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.419/0.9612, allocations: 5.705 MB / 1.058 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007342/0.9686, allocations: 4.142 MB / 1.062 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9686, allocations: 1.062 kB / 1.062 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006366/0.975, allocations: 2.667 MB / 1.064 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.9766, allocations: 199.4 kB / 1.065 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.003, allocations: 14.43 MB / 1.079 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.004, allocations: 1.702 MB / 1.08 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008883/1.005, allocations: 325.2 kB / 1.081 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.006, allocations: 0.5374 MB / 1.081 GB, free: 134 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.006, allocations: 1.422 kB / 1.081 GB, free: 134 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/1.074, allocations: 48.86 MB / 1.129 GB, free: 92.85 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.074, allocations: 247.9 kB / 1.129 GB, free: 92.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.872, allocations: 3.516 kB / 1.129 GB, free: 92.52 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)