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.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001207/0.001207, allocations: 185 kB / 326.5 MB, free: 2.258 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.884/1.884, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001126/0.001126, allocations: 82.38 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00719/0.194, allocations: 8.747 MB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003959/0.198, allocations: 2.946 MB / 0.9116 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.1986, allocations: 27.81 kB / 0.9116 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.199, allocations: 182.9 kB / 0.9118 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2002, allocations: 474.6 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.2014, allocations: 441.4 kB / 0.9127 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2027, allocations: 1.297 MB / 0.9139 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.2058, allocations: 2.67 MB / 0.9165 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.207, allocations: 0.7242 MB / 0.9172 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.2078, allocations: 0.8647 MB / 0.9181 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.208, allocations: 104 kB / 0.9182 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.2085, allocations: 215.8 kB / 0.9184 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.209, allocations: 0.7679 MB / 0.9191 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.2092, allocations: 356.9 kB / 0.9195 GB, free: 44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.211, allocations: 2.747 MB / 0.9222 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.211, allocations: 0 / 0.9222 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.211, allocations: 0 / 0.9222 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.337e-05/0.211, allocations: 0 / 0.9222 GB, free: 41.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.002589/0.2136, allocations: 1.612 MB / 0.9237 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.2137, allocations: 11.97 kB / 0.9237 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003185/0.214, allocations: 256.5 kB / 0.924 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/0.2195, allocations: 0.9498 MB / 0.9249 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.2216, allocations: 1.101 MB / 0.926 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.2217, allocations: 106.9 kB / 0.9261 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.2219, allocations: 144 kB / 0.9262 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.2253, allocations: 2.986 MB / 0.9291 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.2254, allocations: 7.938 kB / 0.9292 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.2256, allocations: 59.97 kB / 0.9292 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/0.2257, allocations: 182.9 kB / 0.9294 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.2287, allocations: 2.6 MB / 0.9319 GB, free: 31.02 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.01235/0.2411, allocations: 13.5 MB / 0.9451 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.2426, allocations: 1.298 MB / 0.9464 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.2427, allocations: 16.62 kB / 0.9464 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2427, allocations: 43.22 kB / 0.9464 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/0.2428, allocations: 0 / 0.9464 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.06658/0.3093, allocations: 19.43 MB / 0.9654 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.3095, allocations: 68.7 kB / 0.9655 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3108, allocations: 0.9105 MB / 0.9664 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002568/0.3111, allocations: 45.7 kB / 0.9664 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/0.3116, allocations: 0.7283 MB / 0.9671 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.3121, allocations: 493 kB / 0.9676 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3123, allocations: 32 kB / 0.9676 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002475/0.3125, allocations: 414.7 kB / 0.968 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.3144, allocations: 1.331 MB / 0.9693 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.3165, allocations: 1.647 MB / 0.9709 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.3186, allocations: 1.56 MB / 0.9725 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3186, allocations: 7.953 kB / 0.9725 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01111/0.3297, allocations: 5.618 MB / 0.9779 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3298, allocations: 8 kB / 0.978 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.3298, allocations: 8 kB / 0.978 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008452/0.3383, allocations: 2.719 MB / 0.9806 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.3392, allocations: 187.7 kB / 0.9808 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03471/0.3739, allocations: 24.33 MB / 1.005 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3755, allocations: 100.4 kB / 1.005 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.3758, allocations: 56 kB / 1.005 GB, free: 2.469 MB / 0.6511 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.001484/0.3773, allocations: 0.7406 MB / 1.005 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.3777, allocations: 114.6 kB / 1.006 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.3893, allocations: 5.373 MB / 1.011 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.3894, allocations: 12 kB / 1.011 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.884e-05/0.3895, allocations: 27.94 kB / 1.011 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.3895, allocations: 11.88 kB / 1.011 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.4074, allocations: 8.602 MB / 1.019 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.4075, allocations: 4 kB / 1.019 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.408, allocations: 115.8 kB / 1.019 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008443/0.4165, allocations: 2.533 MB / 1.022 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/0.4168, allocations: 32 kB / 1.022 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/0.4508, allocations: 21.79 MB / 1.043 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.4508, allocations: 4 kB / 1.043 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/0.4621, allocations: 5.285 MB / 1.048 GB, free: 4.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.4635, allocations: 487.5 kB / 1.049 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.4639, allocations: 28 kB / 1.049 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4651, allocations: 75.91 kB / 1.049 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000531/0.4657, allocations: 125 kB / 1.049 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.4658, allocations: 36 kB / 1.049 GB, free: 4.176 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000951/0.4668, allocations: 0.6356 MB / 1.05 GB, free: 3.539 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4668, allocations: 0 / 1.05 GB, free: 3.539 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002714/0.4695, allocations: 0.7148 MB / 1.05 GB, free: 2.824 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.424/0.8936, allocations: 6.901 MB / 1.057 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006413/0.9, allocations: 4.147 MB / 1.061 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.9001, allocations: 0.6875 kB / 1.061 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005585/0.9057, allocations: 2.656 MB / 1.064 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.9069, allocations: 183.2 kB / 1.064 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/0.9341, allocations: 20.13 MB / 1.084 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.9355, allocations: 1.732 MB / 1.085 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009987/0.9366, allocations: 329.6 kB / 1.086 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.9372, allocations: 0.5313 MB / 1.086 GB, free: 128.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.9372, allocations: 0 / 1.086 GB, free: 128.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/1.003, allocations: 48.84 MB / 1.134 GB, free: 88.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.003, allocations: 246.9 kB / 1.134 GB, free: 87.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.828, allocations: 0 / 1.134 GB, free: 87.88 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)