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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.518/1.518, allocations: 252 MB / 267 MB, free: 10.97 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.001089/0.001089, allocations: 181.8 kB / 326.6 MB, free: 2.23 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.775/1.775, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007512/0.0007518, allocations: 97.92 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 12.22 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.189, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007917/0.1969, allocations: 9.07 MB / 0.9092 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.2014, allocations: 3.067 MB / 0.9122 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007655/0.2022, allocations: 31.81 kB / 0.9122 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.2027, allocations: 182.6 kB / 0.9124 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.204, allocations: 0.6223 MB / 0.913 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2051, allocations: 0.5213 MB / 0.9135 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.2075, allocations: 3.499 MB / 0.9169 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/0.211, allocations: 2.7 MB / 0.9195 GB, free: 44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.2138, allocations: 0.9575 MB / 0.9205 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.2156, allocations: 1.43 MB / 0.9219 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.2159, allocations: 116 kB / 0.922 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009809/0.2169, allocations: 263.7 kB / 0.9222 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.2177, allocations: 0.9237 MB / 0.9231 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.218, allocations: 376.8 kB / 0.9235 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.2201, allocations: 3 MB / 0.9264 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2201, allocations: 0 / 0.9264 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2201, allocations: 0 / 0.9264 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.925e-05/0.2202, allocations: 0 / 0.9264 GB, free: 36.93 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003015/0.2232, allocations: 1.783 MB / 0.9282 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2233, allocations: 16.03 kB / 0.9282 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003371/0.2236, allocations: 265 kB / 0.9284 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008031/0.2317, allocations: 1.308 MB / 0.9297 GB, free: 33.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.2344, allocations: 1.223 MB / 0.9309 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.2345, allocations: 111 kB / 0.931 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.2349, allocations: 148 kB / 0.9312 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.2398, allocations: 3.421 MB / 0.9345 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.2399, allocations: 7.938 kB / 0.9345 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2401, allocations: 67.92 kB / 0.9346 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.2404, allocations: 207.1 kB / 0.9348 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.2445, allocations: 3.12 MB / 0.9378 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.2584, allocations: 13.57 MB / 0.9511 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.2605, allocations: 1.721 MB / 0.9528 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.2621, allocations: 1.425 MB / 0.9541 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-05/0.2622, allocations: 13 kB / 0.9542 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.2622, allocations: 47.55 kB / 0.9542 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 3.647e-06/0.2622, allocations: 0 / 0.9542 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1372/0.3994, allocations: 35.91 MB / 0.9893 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.3995, allocations: 81.36 kB / 0.9894 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4011, allocations: 1.05 MB / 0.9904 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004109/0.4016, allocations: 49.7 kB / 0.9904 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.4021, allocations: 0.7912 MB / 0.9912 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/0.4029, allocations: 0.6199 MB / 0.9918 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.4031, allocations: 36 kB / 0.9918 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4033, allocations: 389.9 kB / 0.9922 GB, free: 240 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/0.4061, allocations: 1.921 MB / 0.9941 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.4094, allocations: 2.281 MB / 0.9963 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.4128, allocations: 2.214 MB / 0.9985 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4129, allocations: 4 kB / 0.9985 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02073/0.4336, allocations: 8.99 MB / 1.007 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.4337, allocations: 8 kB / 1.007 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.4337, allocations: 8 kB / 1.007 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01722/0.4509, allocations: 4.979 MB / 1.012 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/0.4518, allocations: 191.7 kB / 1.012 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05494/0.5068, allocations: 35.08 MB / 1.047 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.5087, allocations: 103.9 kB / 1.047 GB, free: 7.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.5089, allocations: 67.98 kB / 1.047 GB, free: 7.672 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001308/0.5102, allocations: 0.8096 MB / 1.048 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.5106, allocations: 138.3 kB / 1.048 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4025/0.913, allocations: 8.858 MB / 1.056 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.9131, allocations: 24.02 kB / 1.056 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/0.9132, allocations: 28.12 kB / 1.056 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/0.9132, allocations: 11.92 kB / 1.056 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/0.942, allocations: 13.23 MB / 1.069 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/0.9421, allocations: 4.812 kB / 1.069 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.9427, allocations: 122 kB / 1.069 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/0.9591, allocations: 4.761 MB / 1.074 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/0.9596, allocations: 35.09 kB / 1.074 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04316/1.003, allocations: 31.41 MB / 1.105 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.003, allocations: 4 kB / 1.105 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.02, allocations: 8.381 MB / 1.113 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.021, allocations: 0.6124 MB / 1.114 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.022, allocations: 37.78 kB / 1.114 GB, free: 109.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.023, allocations: 87.89 kB / 1.114 GB, free: 109.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000703/1.024, allocations: 165.4 kB / 1.114 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.024, allocations: 54.36 kB / 1.114 GB, free: 109.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008416/1.025, allocations: 0.7304 MB / 1.115 GB, free: 108.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.025, allocations: 0 / 1.115 GB, free: 108.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002757/1.027, allocations: 0.9922 MB / 1.116 GB, free: 107.8 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01662/1.044, allocations: 8.967 MB / 1.124 GB, free: 98.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008633/1.053, allocations: 5.827 MB / 1.13 GB, free: 92.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.053, allocations: 4 kB / 1.13 GB, free: 92.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006632/1.06, allocations: 3.787 MB / 1.134 GB, free: 89.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.061, allocations: 228 kB / 1.134 GB, free: 88.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.093, allocations: 20.64 MB / 1.154 GB, free: 67.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.094, allocations: 1.87 MB / 1.156 GB, free: 65.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008523/1.095, allocations: 346.5 kB / 1.156 GB, free: 65.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/1.096, allocations: 0.6086 MB / 1.157 GB, free: 64.88 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.096, allocations: 0 / 1.157 GB, free: 64.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.21, allocations: 69.69 MB / 1.225 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.21, allocations: 251.8 kB / 1.225 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/4.524, allocations: 3.234 kB / 1.225 GB, free: 11.2 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)