Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.3 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 179.3 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008026/0.0008026, allocations: 98.19 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.000647, allocations: 20.52 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2387, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007824/0.2466, allocations: 9.011 MB / 0.9885 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.251, allocations: 2.926 MB / 0.9913 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.2516, allocations: 31.81 kB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.252, allocations: 178.7 kB / 0.9915 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.2531, allocations: 0.5834 MB / 0.9921 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009106/0.254, allocations: 437.3 kB / 0.9925 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.2561, allocations: 3.167 MB / 0.9956 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.2591, allocations: 2.684 MB / 0.9982 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.2603, allocations: 0.8563 MB / 0.9991 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.2617, allocations: 1.25 MB / 1 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2619, allocations: 100 kB / 1 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.2625, allocations: 255.7 kB / 1.001 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.2631, allocations: 0.8341 MB / 1.001 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.2633, allocations: 356.8 kB / 1.002 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.265, allocations: 2.79 MB / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.265, allocations: 4 kB / 1.004 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.265, allocations: 0 / 1.004 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.265, allocations: 0 / 1.004 GB, free: 2.012 MB / 0.6198 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.002445/0.2675, allocations: 1.624 MB / 1.006 GB, free: 340 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2675, allocations: 8.031 kB / 1.006 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002475/0.2678, allocations: 248.5 kB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.2732, allocations: 0.8912 MB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.2752, allocations: 1.086 MB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.2753, allocations: 114.9 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.2755, allocations: 147.9 kB / 1.009 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005012/0.2806, allocations: 3.001 MB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.2806, allocations: 8 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.2808, allocations: 63.97 kB / 1.012 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/0.281, allocations: 179 kB / 1.012 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.2854, allocations: 2.6 MB / 1.014 GB, free: 7.836 MB / 0.6355 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.02005/0.3055, allocations: 13.52 MB / 1.027 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.3078, allocations: 1.296 MB / 1.029 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3092, allocations: 1.039 MB / 1.03 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.3093, allocations: 20.64 kB / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3093, allocations: 39.22 kB / 1.03 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.3094, allocations: 0 / 1.03 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.07101/0.3804, allocations: 19.44 MB / 1.049 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3805, allocations: 68.66 kB / 1.049 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3818, allocations: 0.9105 MB / 1.05 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.382, allocations: 49.7 kB / 1.05 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.3825, allocations: 0.7283 MB / 1.05 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.383, allocations: 485 kB / 1.051 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3831, allocations: 32 kB / 1.051 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3833, allocations: 418.7 kB / 1.051 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.3852, allocations: 1.335 MB / 1.053 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3872, allocations: 1.647 MB / 1.054 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.3893, allocations: 1.553 MB / 1.056 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3893, allocations: 4 kB / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01164/0.401, allocations: 5.627 MB / 1.061 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.401, allocations: 8 kB / 1.061 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4011, allocations: 12.06 kB / 1.061 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009121/0.4102, allocations: 2.714 MB / 1.064 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.4111, allocations: 199.7 kB / 1.064 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.559/0.9701, allocations: 23.29 MB / 1.087 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.9718, allocations: 94.69 kB / 1.087 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.972, allocations: 59.91 kB / 1.087 GB, free: 74.32 MB / 0.6823 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.001535/0.9735, allocations: 0.7378 MB / 1.088 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.9738, allocations: 112 kB / 1.088 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.9865, allocations: 5.384 MB / 1.093 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.9866, allocations: 13.19 kB / 1.093 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/0.9866, allocations: 22.12 kB / 1.093 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.9867, allocations: 3.797 kB / 1.093 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.003, allocations: 8.609 MB / 1.102 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.003, allocations: 3.969 kB / 1.102 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/1.004, allocations: 114.5 kB / 1.102 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008285/1.012, allocations: 2.543 MB / 1.104 GB, free: 68.35 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/1.013, allocations: 32.55 kB / 1.104 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02838/1.041, allocations: 20.84 MB / 1.125 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.041, allocations: 3.812 kB / 1.125 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009723/1.051, allocations: 5.12 MB / 1.13 GB, free: 51.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.052, allocations: 478.4 kB / 1.13 GB, free: 50.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.052, allocations: 35.98 kB / 1.13 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/1.053, allocations: 71.91 kB / 1.13 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/1.054, allocations: 117 kB / 1.13 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.054, allocations: 43.98 kB / 1.13 GB, free: 50.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007467/1.054, allocations: 0.6395 MB / 1.131 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 1.131 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002518/1.057, allocations: 0.7148 MB / 1.132 GB, free: 49.2 MB / 0.6823 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.009469/1.067, allocations: 5.695 MB / 1.137 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006658/1.073, allocations: 4.141 MB / 1.141 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.073, allocations: 0 / 1.141 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004934/1.078, allocations: 2.66 MB / 1.144 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.08, allocations: 211 kB / 1.144 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.102, allocations: 14.42 MB / 1.158 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.103, allocations: 1.711 MB / 1.16 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008649/1.104, allocations: 321.5 kB / 1.16 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.105, allocations: 0.5314 MB / 1.161 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of SimCode: time 2.525e-06/1.105, allocations: 0 / 1.161 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07686/1.182, allocations: 48.87 MB / 1.208 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.182, allocations: 260.2 kB / 1.209 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/4.071, allocations: 3.375 kB / 1.209 GB, free: 2.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)