Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 3.195/3.195, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001362/0.001362, allocations: 187.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001051/0.001051, allocations: 92.83 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007158, allocations: 16.55 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2315, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01763/0.2492, allocations: 9.019 MB / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.2574, allocations: 2.93 MB / 0.9901 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.2584, allocations: 31.81 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.2589, allocations: 174.7 kB / 0.9903 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.2607, allocations: 0.5873 MB / 0.9909 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.2623, allocations: 440.6 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003917/0.2662, allocations: 3.167 MB / 0.9944 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.2716, allocations: 2.67 MB / 0.997 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.2735, allocations: 0.8601 MB / 0.9979 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.276, allocations: 1.258 MB / 0.9991 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004831/0.2765, allocations: 100 kB / 0.9992 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2778, allocations: 251.7 kB / 0.9994 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.279, allocations: 0.8302 MB / 1 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.2795, allocations: 356.8 kB / 1.001 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.2829, allocations: 2.798 MB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2829, allocations: 0 / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2829, allocations: 0 / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.666e-05/0.283, allocations: 0 / 1.003 GB, free: 2.719 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.004526/0.2875, allocations: 1.622 MB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2876, allocations: 11.97 kB / 1.005 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007267/0.2883, allocations: 252.5 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/0.2977, allocations: 0.8874 MB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.3012, allocations: 1.09 MB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.3014, allocations: 106.9 kB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008219/0.3022, allocations: 147.9 kB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/0.3114, allocations: 3.005 MB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.3115, allocations: 0 / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.3118, allocations: 71.97 kB / 1.01 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003886/0.3122, allocations: 182.9 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007847/0.3201, allocations: 2.596 MB / 1.013 GB, free: 8.543 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.02609/0.3462, allocations: 13.5 MB / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.3497, allocations: 1.295 MB / 1.027 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.3522, allocations: 1.043 MB / 1.029 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.3523, allocations: 16.64 kB / 1.029 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.3524, allocations: 43.2 kB / 1.029 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 4.008e-06/0.3524, allocations: 0 / 1.029 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.1528/0.5052, allocations: 19.44 MB / 1.048 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.5053, allocations: 64.72 kB / 1.048 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5073, allocations: 0.9183 MB / 1.049 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/0.5077, allocations: 45.7 kB / 1.049 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.5085, allocations: 0.7283 MB / 1.049 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000869/0.5094, allocations: 489 kB / 1.05 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.5096, allocations: 32 kB / 1.05 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003342/0.51, allocations: 418.7 kB / 1.05 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/0.5137, allocations: 1.331 MB / 1.051 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/0.5179, allocations: 1.647 MB / 1.053 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.5222, allocations: 1.562 MB / 1.055 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.5223, allocations: 4 kB / 1.055 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0221/0.5444, allocations: 5.617 MB / 1.06 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.5445, allocations: 12.61 kB / 1.06 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.5445, allocations: 11.98 kB / 1.06 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/0.5615, allocations: 2.721 MB / 1.063 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.5631, allocations: 187.7 kB / 1.063 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7032/1.266, allocations: 23.29 MB / 1.086 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.269, allocations: 95.81 kB / 1.086 GB, free: 74.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.269, allocations: 54.94 kB / 1.086 GB, free: 74.5 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.001873/1.271, allocations: 0.7471 MB / 1.087 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/1.271, allocations: 110.8 kB / 1.087 GB, free: 74.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/1.294, allocations: 5.375 MB / 1.092 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.294, allocations: 13.34 kB / 1.092 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.498e-05/1.294, allocations: 20.31 kB / 1.092 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.889e-05/1.294, allocations: 6.75 kB / 1.092 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/1.323, allocations: 8.613 MB / 1.1 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.323, allocations: 8.125 kB / 1.1 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/1.324, allocations: 116.6 kB / 1.1 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/1.34, allocations: 2.531 MB / 1.103 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003975/1.34, allocations: 31.3 kB / 1.103 GB, free: 68.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05224/1.393, allocations: 20.86 MB / 1.123 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.393, allocations: 3.781 kB / 1.123 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/1.412, allocations: 5.12 MB / 1.128 GB, free: 52.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.413, allocations: 482.2 kB / 1.129 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.414, allocations: 32.12 kB / 1.129 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.416, allocations: 75.91 kB / 1.129 GB, free: 51.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006952/1.417, allocations: 121 kB / 1.129 GB, free: 51.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.417, allocations: 44 kB / 1.129 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001218/1.418, allocations: 0.6317 MB / 1.13 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.42e-07/1.418, allocations: 0 / 1.13 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003687/1.422, allocations: 0.7148 MB / 1.13 GB, free: 50.4 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.01815/1.44, allocations: 5.693 MB / 1.136 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.452, allocations: 4.141 MB / 1.14 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.452, allocations: 0 / 1.14 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008546/1.461, allocations: 2.661 MB / 1.143 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.463, allocations: 209.2 kB / 1.143 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.502, allocations: 14.42 MB / 1.157 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.504, allocations: 1.704 MB / 1.159 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001322/1.505, allocations: 330.6 kB / 1.159 GB, free: 20.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/1.506, allocations: 0.5305 MB / 1.159 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/1.506, allocations: 0 / 1.159 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.627, allocations: 48.86 MB / 1.207 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.627, allocations: 244.3 kB / 1.207 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/5.392, allocations: 0 / 1.207 GB, free: 3.348 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)