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.895/1.895, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001096/0.001096, allocations: 186.2 kB / 371.8 MB, free: 10.28 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.713/1.713, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009452/0.0009452, allocations: 82.88 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005779/0.000578, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2686, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01478/0.2834, allocations: 17.63 MB / 0.9967 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008787/0.2923, allocations: 6.211 MB / 1.003 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.2942, allocations: 75.56 kB / 1.003 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.2953, allocations: 401.5 kB / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.2985, allocations: 0.8645 MB / 1.004 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3011, allocations: 0.785 MB / 1.005 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.305, allocations: 2.315 MB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.3151, allocations: 6.375 MB / 1.013 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3177, allocations: 1.316 MB / 1.015 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.3203, allocations: 1.366 MB / 1.016 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004989/0.3208, allocations: 180 kB / 1.016 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.322, allocations: 415.5 kB / 1.017 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.3232, allocations: 1.228 MB / 1.018 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009479/0.3242, allocations: 0.6446 MB / 1.018 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.3315, allocations: 5.295 MB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3315, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3316, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002226/0.3318, allocations: 0 / 1.024 GB, free: 14.36 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.006814/0.3386, allocations: 2.839 MB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3387, allocations: 8.031 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/0.3399, allocations: 454.4 kB / 1.027 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.3431, allocations: 0.6207 MB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/0.3474, allocations: 1.904 MB / 1.029 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.3475, allocations: 218 kB / 1.029 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.3481, allocations: 295.9 kB / 1.03 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008572/0.3567, allocations: 4.847 MB / 1.034 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.823e-05/0.3569, allocations: 15.84 kB / 1.034 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.3572, allocations: 124 kB / 1.035 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00047/0.3577, allocations: 237.7 kB / 1.035 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006985/0.3647, allocations: 3.723 MB / 1.038 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/0.3934, allocations: 21.6 MB / 1.059 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.3953, allocations: 1.304 MB / 1.061 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.3955, allocations: 9 kB / 1.061 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.3955, allocations: 51.56 kB / 1.061 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.3955, allocations: 0 / 1.061 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.4318/0.8273, allocations: 8.656 MB / 1.069 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.8274, allocations: 67.08 kB / 1.069 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.8295, allocations: 1.121 MB / 1.07 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.8297, allocations: 46.58 kB / 1.07 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.8306, allocations: 1.298 MB / 1.072 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.831, allocations: 486.1 kB / 1.072 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.831, allocations: 34.38 kB / 1.072 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8312, allocations: 372.3 kB / 1.073 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.8327, allocations: 0.9023 MB / 1.073 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.8345, allocations: 1.312 MB / 1.075 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.8363, allocations: 1.137 MB / 1.076 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.8363, allocations: 3.5 kB / 1.076 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006974/0.8433, allocations: 3.45 MB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.8434, allocations: 10.19 kB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/0.8434, allocations: 12 kB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.8473, allocations: 1.189 MB / 1.08 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.8484, allocations: 260.8 kB / 1.081 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.8676, allocations: 13.19 MB / 1.094 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.8691, allocations: 88.08 kB / 1.094 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.8693, allocations: 63.02 kB / 1.094 GB, free: 69.46 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.00197/0.8713, allocations: 1.116 MB / 1.095 GB, free: 68.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.8716, allocations: 159.3 kB / 1.095 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/0.8775, allocations: 3.159 MB / 1.098 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.8775, allocations: 16.31 kB / 1.098 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/0.8776, allocations: 11.53 kB / 1.098 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.8776, allocations: 8.781 kB / 1.098 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.888, allocations: 6.225 MB / 1.104 GB, free: 65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8881, allocations: 9.188 kB / 1.104 GB, free: 65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.8888, allocations: 152.2 kB / 1.104 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/0.8917, allocations: 1.072 MB / 1.105 GB, free: 64.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.8919, allocations: 27.88 kB / 1.105 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.9068, allocations: 12.92 MB / 1.118 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.9069, allocations: 16.25 kB / 1.118 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/0.9117, allocations: 3.383 MB / 1.121 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.9128, allocations: 433.6 kB / 1.122 GB, free: 52.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.913, allocations: 33.56 kB / 1.122 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.9138, allocations: 79.64 kB / 1.122 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.914, allocations: 123.7 kB / 1.122 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.9141, allocations: 42.25 kB / 1.122 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009493/0.9151, allocations: 0.7524 MB / 1.123 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9151, allocations: 0 / 1.123 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002288/0.9174, allocations: 0.6609 MB / 1.123 GB, free: 51.91 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.004822/0.9222, allocations: 5.18 MB / 1.128 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004224/0.9265, allocations: 3.118 MB / 1.131 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9265, allocations: 3.812 kB / 1.131 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.929, allocations: 1.955 MB / 1.133 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.9312, allocations: 456.8 kB / 1.134 GB, free: 44.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/0.9543, allocations: 23.2 MB / 1.156 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.9561, allocations: 2.395 MB / 1.159 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001089/0.9572, allocations: 342.9 kB / 1.159 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008881/0.9581, allocations: 1.011 MB / 1.16 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.113e-06/0.9581, allocations: 0 / 1.16 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/1.031, allocations: 49.33 MB / 1.208 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.031, allocations: 237.4 kB / 1.209 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/4.22, allocations: 2.578 kB / 1.209 GB, free: 15.58 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)