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.482/1.482, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0009929/0.0009928, allocations: 192.8 kB / 372.3 MB, free: 10.1 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.369/1.369, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008083/0.0008083, allocations: 96.67 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006829/0.1781, allocations: 9.011 MB / 0.989 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1818, allocations: 2.934 MB / 0.9919 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.1825, allocations: 31.81 kB / 0.9919 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.183, allocations: 182.7 kB / 0.9921 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1844, allocations: 0.6146 MB / 0.9927 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1854, allocations: 461.2 kB / 0.9931 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.1877, allocations: 3.178 MB / 0.9962 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.191, allocations: 3.089 MB / 0.9992 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1922, allocations: 0.8601 MB / 1 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.1938, allocations: 1.258 MB / 1.001 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.1942, allocations: 100 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1952, allocations: 435.2 kB / 1.002 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009595/0.1962, allocations: 0.838 MB / 1.003 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.1975, allocations: 0.8418 MB / 1.003 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.1999, allocations: 2.798 MB / 1.006 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1999, allocations: 0 / 1.006 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2, allocations: 3.984 kB / 1.006 GB, free: 476 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001162/0.2001, allocations: 0 / 1.006 GB, free: 476 kB / 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.003543/0.2036, allocations: 1.593 MB / 1.008 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2037, allocations: 16.02 kB / 1.008 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/0.204, allocations: 248.7 kB / 1.008 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.209, allocations: 0.8922 MB / 1.009 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.2105, allocations: 1.114 MB / 1.01 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.654e-05/0.2106, allocations: 111.3 kB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.2108, allocations: 140.3 kB / 1.01 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.2147, allocations: 3.007 MB / 1.013 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.2148, allocations: 11.98 kB / 1.013 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.2149, allocations: 59.97 kB / 1.013 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.2151, allocations: 175 kB / 1.013 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.2186, allocations: 2.596 MB / 1.016 GB, free: 6.301 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.0129/0.2315, allocations: 13.53 MB / 1.029 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.2332, allocations: 1.29 MB / 1.03 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.2344, allocations: 1.05 MB / 1.031 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.798e-05/0.2345, allocations: 8.656 kB / 1.031 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2345, allocations: 43.22 kB / 1.031 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 1.944e-06/0.2345, allocations: 0 / 1.031 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.0663/0.3008, allocations: 19.46 MB / 1.05 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3009, allocations: 68.66 kB / 1.051 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3019, allocations: 0.9105 MB / 1.051 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.302, allocations: 53.7 kB / 1.051 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.3024, allocations: 0.7244 MB / 1.052 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.3028, allocations: 485 kB / 1.053 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3029, allocations: 35.94 kB / 1.053 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3031, allocations: 418.7 kB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.3047, allocations: 1.327 MB / 1.054 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.3065, allocations: 1.651 MB / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.3101, allocations: 3.072 MB / 1.059 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.3101, allocations: 4 kB / 1.059 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01038/0.3205, allocations: 5.628 MB / 1.064 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3205, allocations: 13.19 kB / 1.064 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3205, allocations: 8 kB / 1.064 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007943/0.3285, allocations: 2.718 MB / 1.067 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.3292, allocations: 187.7 kB / 1.067 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3601/0.6893, allocations: 23.31 MB / 1.09 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6906, allocations: 97.8 kB / 1.09 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.6907, allocations: 55.41 kB / 1.09 GB, free: 73.8 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.001066/0.6918, allocations: 0.7386 MB / 1.091 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.692, allocations: 120.7 kB / 1.091 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009849/0.7019, allocations: 5.381 MB / 1.096 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.7019, allocations: 12.88 kB / 1.096 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.7019, allocations: 18.84 kB / 1.096 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.7019, allocations: 6.844 kB / 1.096 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.7151, allocations: 8.61 MB / 1.105 GB, free: 68.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7151, allocations: 7.719 kB / 1.105 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.7155, allocations: 118 kB / 1.105 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007149/0.7226, allocations: 2.534 MB / 1.107 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/0.7227, allocations: 27.88 kB / 1.107 GB, free: 67.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/0.7461, allocations: 20.85 MB / 1.128 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7461, allocations: 3.812 kB / 1.128 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/0.7542, allocations: 5.124 MB / 1.133 GB, free: 48.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.7548, allocations: 479.6 kB / 1.133 GB, free: 48.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.755, allocations: 24 kB / 1.133 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.7558, allocations: 79.89 kB / 1.133 GB, free: 48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.7561, allocations: 128.9 kB / 1.133 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.7562, allocations: 36 kB / 1.133 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00055/0.7567, allocations: 0.6395 MB / 1.134 GB, free: 47.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7567, allocations: 0 / 1.134 GB, free: 47.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001701/0.7584, allocations: 0.7148 MB / 1.135 GB, free: 46.48 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.008233/0.7667, allocations: 5.703 MB / 1.14 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004907/0.7716, allocations: 4.147 MB / 1.144 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7716, allocations: 7.75 kB / 1.144 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00367/0.7753, allocations: 2.646 MB / 1.147 GB, free: 33.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.7765, allocations: 213 kB / 1.147 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.794, allocations: 14.44 MB / 1.161 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.795, allocations: 1.703 MB / 1.163 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005941/0.7956, allocations: 321.5 kB / 1.163 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.7961, allocations: 0.5344 MB / 1.164 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.5e-07/0.7961, allocations: 0 / 1.164 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.065/3.861, allocations: 48.94 MB / 1.212 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/3.861, allocations: 246.4 kB / 1.212 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/6.54, allocations: 3.438 kB / 1.212 GB, free: 15.28 MB / 0.7292 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)