Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008468, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008964/0.0008963, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005715/0.0005716, allocations: 13.56 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2804, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006118/0.2866, allocations: 4.883 MB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.2909, allocations: 2.508 MB / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.2913, allocations: 19.88 kB / 0.7947 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2916, allocations: 99.14 kB / 0.7947 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.2924, allocations: 334.2 kB / 0.7951 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.2933, allocations: 302.5 kB / 0.7954 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.2943, allocations: 1.049 MB / 0.7964 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.2955, allocations: 0.7398 MB / 0.7971 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.296, allocations: 318.6 kB / 0.7974 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.2964, allocations: 378.6 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.2965, allocations: 28 kB / 0.7978 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.297, allocations: 183.8 kB / 0.798 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.2972, allocations: 219.4 kB / 0.7982 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2973, allocations: 137.4 kB / 0.7983 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.298, allocations: 0.721 MB / 0.799 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.298, allocations: 0 / 0.799 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.298, allocations: 0 / 0.799 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.298, allocations: 0 / 0.799 GB, free: 15.87 MB / 0.6231 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.001391/0.2994, allocations: 0.8684 MB / 0.7999 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.2995, allocations: 11.97 kB / 0.7999 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2996, allocations: 102.4 kB / 0.8 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3009, allocations: 195 kB / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.3016, allocations: 477.5 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.3016, allocations: 40.98 kB / 0.8006 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.3017, allocations: 51.95 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.3028, allocations: 0.8245 MB / 0.8015 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.3029, allocations: 7.938 kB / 0.8015 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.3029, allocations: 23.98 kB / 0.8015 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.3031, allocations: 68.94 kB / 0.8016 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.304, allocations: 0.5658 MB / 0.8022 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.3081, allocations: 4.585 MB / 0.8066 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.3085, allocations: 303.1 kB / 0.8069 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.3088, allocations: 229.3 kB / 0.8071 GB, free: 7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3089, allocations: 4.281 kB / 0.8071 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3089, allocations: 30.84 kB / 0.8072 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.3089, allocations: 0 / 0.8072 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005329/0.3142, allocations: 2.642 MB / 0.8098 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3143, allocations: 55.41 kB / 0.8098 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.3148, allocations: 462 kB / 0.8102 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3148, allocations: 33.7 kB / 0.8103 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.315, allocations: 343.6 kB / 0.8106 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3152, allocations: 142 kB / 0.8107 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.3152, allocations: 8 kB / 0.8107 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3154, allocations: 366.8 kB / 0.8111 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.3157, allocations: 237 kB / 0.8113 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.3162, allocations: 402.4 kB / 0.8117 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3166, allocations: 301.5 kB / 0.812 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3166, allocations: 0 / 0.812 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001541/0.3182, allocations: 0.9173 MB / 0.8129 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3182, allocations: 8 kB / 0.8129 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3182, allocations: 4 kB / 0.8129 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006962/0.3189, allocations: 227 kB / 0.8131 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.3194, allocations: 115.8 kB / 0.8132 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/0.324, allocations: 4.934 MB / 0.818 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.3245, allocations: 31.97 kB / 0.8181 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.3245, allocations: 24 kB / 0.8181 GB, free: 11.09 MB / 0.6387 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.0003152/0.3249, allocations: 221.6 kB / 0.8183 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.325, allocations: 59.41 kB / 0.8184 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.3264, allocations: 0.7705 MB / 0.8191 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3264, allocations: 7.984 kB / 0.8191 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3265, allocations: 11.94 kB / 0.8191 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3265, allocations: 11.88 kB / 0.8192 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.3288, allocations: 1.491 MB / 0.8206 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3288, allocations: 0 / 0.8206 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.3291, allocations: 71.88 kB / 0.8207 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006574/0.3298, allocations: 202.6 kB / 0.8209 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.3298, allocations: 12 kB / 0.8209 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/0.3342, allocations: 4.872 MB / 0.8256 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3342, allocations: 4.031 kB / 0.8256 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.336, allocations: 1.135 MB / 0.8268 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3362, allocations: 168.4 kB / 0.8269 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.3363, allocations: 16 kB / 0.8269 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.3366, allocations: 27.95 kB / 0.827 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.3367, allocations: 31.92 kB / 0.827 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3367, allocations: 15.98 kB / 0.827 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003722/0.3371, allocations: 314.9 kB / 0.8273 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3371, allocations: 0 / 0.8273 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007133/0.3378, allocations: 164 kB / 0.8275 GB, free: 0.918 MB / 0.6387 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.001982/0.3398, allocations: 1.688 MB / 0.8291 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.3414, allocations: 1.008 MB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3415, allocations: 4 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.3424, allocations: 0.6721 MB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.3434, allocations: 172.5 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.3496, allocations: 3.855 MB / 0.8347 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.3503, allocations: 0.9417 MB / 0.8356 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.3507, allocations: 113 kB / 0.8357 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.351, allocations: 207.4 kB / 0.8359 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/0.3511, allocations: 4 kB / 0.8359 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3798, allocations: 13.31 MB / 0.8489 GB, free: 10.98 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3801, allocations: 229.8 kB / 0.8491 GB, free: 10.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.42, allocations: 4 kB / 0.8491 GB, free: 10.73 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: