Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.65/2.65, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.00158/0.00158, allocations: 191.9 kB / 370.8 MB, free: 10.83 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.136/2.136, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001139/0.001139, allocations: 94.84 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004966, allocations: 11.62 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006782/0.223, allocations: 4.708 MB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.2282, allocations: 2.5 MB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.2288, allocations: 15.88 kB / 0.9853 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.2292, allocations: 95.31 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.2303, allocations: 323 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2315, allocations: 309.4 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2326, allocations: 0.5824 MB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.2341, allocations: 0.7359 MB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.2347, allocations: 282.9 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.2353, allocations: 302.9 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/0.2354, allocations: 28 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.2359, allocations: 151.7 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.2362, allocations: 203.4 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2364, allocations: 141.4 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.2373, allocations: 0.7014 MB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2373, allocations: 0 / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2373, allocations: 0 / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2373, allocations: 0 / 0.9891 GB, free: 17.13 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.001853/0.2392, allocations: 0.8471 MB / 0.9899 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2393, allocations: 15.95 kB / 0.9899 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.2394, allocations: 102.5 kB / 0.99 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.2412, allocations: 179 kB / 0.9902 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2423, allocations: 489.4 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.2424, allocations: 37 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.2426, allocations: 55.94 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.2448, allocations: 0.82 MB / 0.9915 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.992e-05/0.2449, allocations: 4 kB / 0.9915 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/0.245, allocations: 20 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.2453, allocations: 68.94 kB / 0.9916 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2466, allocations: 0.5657 MB / 0.9922 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.2526, allocations: 4.593 MB / 0.9967 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.2533, allocations: 299.2 kB / 0.9969 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.2534, allocations: 8.281 kB / 0.997 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2534, allocations: 34.78 kB / 0.997 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.2534, allocations: 0 / 0.997 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.00823/0.2616, allocations: 2.627 MB / 0.9996 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2617, allocations: 63.33 kB / 0.9996 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.2623, allocations: 454 kB / 1 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.2624, allocations: 41.64 kB / 1 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.2626, allocations: 339.7 kB / 1 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.2628, allocations: 145.9 kB / 1.001 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.2628, allocations: 8 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.2629, allocations: 366.8 kB / 1.001 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.2634, allocations: 233 kB / 1.001 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.2641, allocations: 402.5 kB / 1.002 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.2648, allocations: 301.6 kB / 1.002 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2648, allocations: 0 / 1.002 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002511/0.2673, allocations: 0.9212 MB / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2674, allocations: 8 kB / 1.003 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2674, allocations: 4 kB / 1.003 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.2687, allocations: 222.9 kB / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.2696, allocations: 111.8 kB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.277, allocations: 5.017 MB / 1.008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.2778, allocations: 31.97 kB / 1.008 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.2779, allocations: 24 kB / 1.008 GB, free: 12.54 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.0004841/0.2784, allocations: 221.6 kB / 1.008 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2786, allocations: 59.34 kB / 1.008 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.2812, allocations: 0.7741 MB / 1.009 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.2812, allocations: 4 kB / 1.009 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2812, allocations: 8 kB / 1.009 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2813, allocations: 3.953 kB / 1.009 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.2854, allocations: 1.49 MB / 1.01 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/0.2855, allocations: 4 kB / 1.01 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.2862, allocations: 67.88 kB / 1.011 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.2875, allocations: 210.8 kB / 1.011 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.2876, allocations: 8 kB / 1.011 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/0.2952, allocations: 4.95 MB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2952, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.2984, allocations: 1.217 MB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.2988, allocations: 180.4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.299, allocations: 11.95 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.2996, allocations: 28.03 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.2997, allocations: 43.83 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.2998, allocations: 8 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005523/0.3004, allocations: 310.9 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3004, allocations: 4 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001007/0.3014, allocations: 168 kB / 1.017 GB, free: 2.164 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.003796/0.3052, allocations: 2.244 MB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.3079, allocations: 1 MB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.308, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.3096, allocations: 0.6876 MB / 1.021 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.311, allocations: 150.5 kB / 1.021 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.3219, allocations: 7.323 MB / 1.029 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.3227, allocations: 0.965 MB / 1.03 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007114/0.3234, allocations: 109 kB / 1.03 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.3239, allocations: 207.4 kB / 1.03 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/0.3239, allocations: 0 / 1.03 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05733/0.3813, allocations: 13.29 MB / 1.043 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.3816, allocations: 224 kB / 1.043 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.374, allocations: 0 / 1.043 GB, free: 7.898 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)