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.ACLine_RL_N.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.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.469/1.469, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.0009961/0.0009958, allocations: 168.5 kB / 372.2 MB, free: 10.13 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.286/1.286, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006415/0.0006415, allocations: 86.38 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 16.61 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0129/0.1645, allocations: 18.34 MB / 0.9981 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.1713, allocations: 6.191 MB / 1.004 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1724, allocations: 67.62 kB / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.1733, allocations: 396.8 kB / 1.005 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.1753, allocations: 1.015 MB / 1.006 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1771, allocations: 0.8298 MB / 1.006 GB, free: 340 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004771/0.1818, allocations: 5.528 MB / 1.012 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008895/0.1907, allocations: 7.156 MB / 1.019 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.1928, allocations: 1.51 MB / 1.02 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.1949, allocations: 1.978 MB / 1.022 GB, free: 56 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.1952, allocations: 180 kB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1966, allocations: 0.8811 MB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.1976, allocations: 1.344 MB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.1989, allocations: 1.503 MB / 1.026 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.2025, allocations: 5.396 MB / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2025, allocations: 0 / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2025, allocations: 0 / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.69e-05/0.2026, allocations: 0 / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004156/0.2068, allocations: 2.816 MB / 1.034 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2068, allocations: 12.03 kB / 1.034 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004799/0.2073, allocations: 458.5 kB / 1.034 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.21, allocations: 0.6333 MB / 1.035 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.2126, allocations: 1.943 MB / 1.037 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.2127, allocations: 222.3 kB / 1.037 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.2131, allocations: 296.1 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.2193, allocations: 4.867 MB / 1.042 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.2193, allocations: 15.84 kB / 1.042 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.2196, allocations: 124 kB / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.22, allocations: 229.7 kB / 1.043 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004759/0.2247, allocations: 3.727 MB / 1.046 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/0.5475, allocations: 21.62 MB / 1.067 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.5493, allocations: 1.3 MB / 1.069 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.5505, allocations: 1.037 MB / 1.07 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.235e-05/0.5506, allocations: 13.66 kB / 1.07 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5506, allocations: 50.72 kB / 1.07 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.5506, allocations: 0 / 1.07 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.02221/0.5728, allocations: 8.703 MB / 1.078 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5729, allocations: 66.28 kB / 1.078 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5742, allocations: 1.12 MB / 1.079 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.5743, allocations: 47.89 kB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.5748, allocations: 1.299 MB / 1.081 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.575, allocations: 478.9 kB / 1.081 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.5751, allocations: 30.56 kB / 1.081 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.5752, allocations: 376.2 kB / 1.082 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.5764, allocations: 0.904 MB / 1.082 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.5777, allocations: 1.319 MB / 1.084 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.5802, allocations: 2.417 MB / 1.086 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5802, allocations: 3.844 kB / 1.086 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005008/0.5853, allocations: 3.458 MB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5853, allocations: 8.516 kB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.5853, allocations: 11.91 kB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.588, allocations: 1.185 MB / 1.091 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.5888, allocations: 258.8 kB / 1.091 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.6018, allocations: 12.71 MB / 1.103 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6031, allocations: 87.36 kB / 1.103 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.6032, allocations: 69.75 kB / 1.103 GB, free: 64.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/0.6048, allocations: 1.113 MB / 1.104 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.605, allocations: 163.3 kB / 1.105 GB, free: 63.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.6097, allocations: 3.161 MB / 1.108 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6097, allocations: 12.91 kB / 1.108 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.6097, allocations: 15.42 kB / 1.108 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.6097, allocations: 7.969 kB / 1.108 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008798/0.6185, allocations: 6.238 MB / 1.114 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.6186, allocations: 3.438 kB / 1.114 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.6191, allocations: 147 kB / 1.114 GB, free: 57.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.6217, allocations: 1.07 MB / 1.115 GB, free: 57.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.6218, allocations: 26 kB / 1.115 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.6336, allocations: 12.45 MB / 1.127 GB, free: 48.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6336, allocations: 7.344 kB / 1.127 GB, free: 48.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.6375, allocations: 3.143 MB / 1.13 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.6381, allocations: 428.9 kB / 1.131 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6383, allocations: 23.69 kB / 1.131 GB, free: 46.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.639, allocations: 89.8 kB / 1.131 GB, free: 46.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.6392, allocations: 122.2 kB / 1.131 GB, free: 45.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.6393, allocations: 42.58 kB / 1.131 GB, free: 45.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007093/0.64, allocations: 0.7536 MB / 1.132 GB, free: 45.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.64, allocations: 4 kB / 1.132 GB, free: 45.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001675/0.6417, allocations: 0.6591 MB / 1.132 GB, free: 45.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003889/0.6456, allocations: 3.737 MB / 1.136 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.6491, allocations: 3.12 MB / 1.139 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6492, allocations: 0 / 1.139 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/0.6513, allocations: 1.956 MB / 1.141 GB, free: 36.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.6535, allocations: 461.2 kB / 1.141 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.6705, allocations: 15.11 MB / 1.156 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.6721, allocations: 2.34 MB / 1.158 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008018/0.6729, allocations: 354.1 kB / 1.159 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/0.6737, allocations: 1.003 MB / 1.16 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.6737, allocations: 0 / 1.16 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.817/6.491, allocations: 49.65 MB / 1.208 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/6.491, allocations: 234.3 kB / 1.208 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.469/11.96, allocations: 3.938 kB / 1.208 GB, free: 15.2 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)