Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.716/1.716, allocations: 288.2 MB / 303.2 MB, free: 8.277 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.0009985/0.0009981, allocations: 183.8 kB / 371.8 MB, free: 10.27 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.394/1.394, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.001064/0.001064, allocations: 93.52 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 15.3 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005487/0.2349, allocations: 4.705 MB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2386, allocations: 2.496 MB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006001/0.2392, allocations: 19.88 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.2396, allocations: 99.3 kB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2406, allocations: 315 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2417, allocations: 303.3 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.243, allocations: 0.5863 MB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.2444, allocations: 0.7451 MB / 0.9885 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.245, allocations: 286.9 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.2459, allocations: 298.9 kB / 0.9891 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.2461, allocations: 28 kB / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.2469, allocations: 155.7 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.2472, allocations: 203.5 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.2475, allocations: 145.3 kB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.2485, allocations: 0.6937 MB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2485, allocations: 0 / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2485, allocations: 0 / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.58e-05/0.2486, allocations: 0 / 0.9903 GB, free: 16.48 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001744/0.2503, allocations: 0.8528 MB / 0.9911 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2504, allocations: 12.03 kB / 0.9911 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.2506, allocations: 102.5 kB / 0.9912 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.2519, allocations: 179 kB / 0.9914 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.2527, allocations: 477.4 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2528, allocations: 40.98 kB / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2529, allocations: 59.92 kB / 0.9919 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.2539, allocations: 0.8161 MB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.2539, allocations: 3.984 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.254, allocations: 27.98 kB / 0.9928 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/0.2542, allocations: 60.95 kB / 0.9928 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.255, allocations: 0.5735 MB / 0.9934 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.2585, allocations: 4.585 MB / 0.9979 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.259, allocations: 303.2 kB / 0.9981 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.259, allocations: 4.281 kB / 0.9981 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.259, allocations: 30.84 kB / 0.9982 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.259, allocations: 0 / 0.9982 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004857/0.2639, allocations: 2.634 MB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2639, allocations: 55.41 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.2644, allocations: 454 kB / 1.001 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2644, allocations: 33.7 kB / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2646, allocations: 347.6 kB / 1.002 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.2647, allocations: 145.9 kB / 1.002 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.2647, allocations: 8 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.2648, allocations: 374.7 kB / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.2651, allocations: 237 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2654, allocations: 398.5 kB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.2658, allocations: 297.5 kB / 1.003 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2658, allocations: 0 / 1.003 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001419/0.2672, allocations: 0.9138 MB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2673, allocations: 12.12 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2673, allocations: 4 kB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/0.268, allocations: 234.3 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.2685, allocations: 119.8 kB / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005027/0.2735, allocations: 5.005 MB / 1.009 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.2739, allocations: 27.97 kB / 1.009 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.274, allocations: 24 kB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.2743, allocations: 230.2 kB / 1.009 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2744, allocations: 55.34 kB / 1.009 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.276, allocations: 0.7742 MB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.276, allocations: 4 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.276, allocations: 0 / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.276, allocations: 3.984 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.2786, allocations: 1.499 MB / 1.012 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.2786, allocations: 4.234 kB / 1.012 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.279, allocations: 59.95 kB / 1.012 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/0.2797, allocations: 214.5 kB / 1.012 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.2797, allocations: 12 kB / 1.012 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.2848, allocations: 4.95 MB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2848, allocations: 0 / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2867, allocations: 1.225 MB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.287, allocations: 172.4 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2871, allocations: 15.95 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.2875, allocations: 24.34 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.2876, allocations: 35.89 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.2876, allocations: 16.06 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003751/0.288, allocations: 314.9 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.288, allocations: 0 / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007087/0.2887, allocations: 164 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002382/0.2911, allocations: 2.255 MB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.2928, allocations: 0.9928 MB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.2928, allocations: 11.88 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.2939, allocations: 0.6799 MB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.2947, allocations: 158.8 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/0.3029, allocations: 7.319 MB / 1.03 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.3036, allocations: 0.9572 MB / 1.031 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004639/0.3041, allocations: 117 kB / 1.031 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.3044, allocations: 203.4 kB / 1.031 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/0.3044, allocations: 0 / 1.031 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.3372, allocations: 13.29 MB / 1.044 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/0.3376, allocations: 232.6 kB / 1.044 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.712, allocations: 0 / 1.044 GB, free: 7.223 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)