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.001483/0.001483, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001338/0.001338, allocations: 177.3 kB / 15.95 MB, free: 216 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.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.978/1.978, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.000662/0.0006624, allocations: 17.61 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2831, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005903/0.2891, allocations: 4.712 MB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.2933, allocations: 2.493 MB / 0.7943 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.2937, allocations: 23.81 kB / 0.7943 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2941, allocations: 95.34 kB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008272/0.2949, allocations: 323 kB / 0.7947 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.2958, allocations: 307.3 kB / 0.795 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.2966, allocations: 0.5785 MB / 0.7956 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.2978, allocations: 0.7437 MB / 0.7963 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.2982, allocations: 279 kB / 0.7965 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.2987, allocations: 302.8 kB / 0.7968 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.2987, allocations: 24 kB / 0.7969 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.2991, allocations: 147.8 kB / 0.797 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2993, allocations: 207.4 kB / 0.7972 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2995, allocations: 141.3 kB / 0.7973 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.3003, allocations: 0.6937 MB / 0.798 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3003, allocations: 4 kB / 0.798 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3003, allocations: 4 kB / 0.798 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3003, allocations: 0 / 0.798 GB, free: 0.7344 MB / 0.6075 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.001529/0.3018, allocations: 0.8489 MB / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3019, allocations: 16.02 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.302, allocations: 98.5 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.3032, allocations: 183 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.304, allocations: 473.5 kB / 0.7996 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.3041, allocations: 48.91 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3042, allocations: 59.94 kB / 0.7997 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.3055, allocations: 0.8168 MB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3055, allocations: 3.938 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.3056, allocations: 23.98 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3058, allocations: 68.95 kB / 0.8006 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.3067, allocations: 0.558 MB / 0.8011 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.3117, allocations: 4.589 MB / 0.8056 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.3123, allocations: 303.2 kB / 0.8059 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3123, allocations: 4.281 kB / 0.8059 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3124, allocations: 34.84 kB / 0.8059 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.3124, allocations: 0 / 0.8059 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005912/0.3183, allocations: 2.639 MB / 0.8085 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3184, allocations: 59.41 kB / 0.8086 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.319, allocations: 458 kB / 0.809 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3191, allocations: 29.7 kB / 0.809 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.3193, allocations: 343.7 kB / 0.8094 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3195, allocations: 142 kB / 0.8095 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3195, allocations: 8 kB / 0.8095 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3197, allocations: 366.8 kB / 0.8098 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.3201, allocations: 240.9 kB / 0.8101 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.3206, allocations: 406.4 kB / 0.8105 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.321, allocations: 293.5 kB / 0.8107 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.321, allocations: 7.984 kB / 0.8108 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001651/0.3227, allocations: 0.9133 MB / 0.8116 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3227, allocations: 8 kB / 0.8117 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3227, allocations: 8 kB / 0.8117 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/0.3236, allocations: 227 kB / 0.8119 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.3242, allocations: 111.8 kB / 0.812 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/0.3303, allocations: 5.021 MB / 0.8169 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.331, allocations: 31.97 kB / 0.8169 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.331, allocations: 24 kB / 0.8169 GB, free: 12.13 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.0003935/0.3314, allocations: 226 kB / 0.8172 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.3315, allocations: 55.34 kB / 0.8172 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3331, allocations: 0.7704 MB / 0.818 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3331, allocations: 4 kB / 0.818 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3331, allocations: 4 kB / 0.818 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3331, allocations: 7.984 kB / 0.818 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.3356, allocations: 1.494 MB / 0.8194 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3356, allocations: 224 / 0.8194 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.336, allocations: 71.88 kB / 0.8195 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006761/0.3367, allocations: 202.4 kB / 0.8197 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.3367, allocations: 12 kB / 0.8197 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.3416, allocations: 4.951 MB / 0.8245 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3416, allocations: 7.938 kB / 0.8245 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.3436, allocations: 1.209 MB / 0.8257 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.344, allocations: 176.4 kB / 0.8259 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.3441, allocations: 11.95 kB / 0.8259 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.3444, allocations: 27.95 kB / 0.8259 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.3445, allocations: 43.78 kB / 0.826 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3445, allocations: 11.98 kB / 0.826 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003781/0.3449, allocations: 310.9 kB / 0.8263 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3449, allocations: 64 / 0.8263 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000729/0.3457, allocations: 172 kB / 0.8264 GB, free: 1.758 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.002288/0.348, allocations: 2.248 MB / 0.8286 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.3496, allocations: 1 MB / 0.8296 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.3496, allocations: 0 / 0.8296 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.3506, allocations: 0.6799 MB / 0.8303 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.3514, allocations: 160.6 kB / 0.8304 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.3588, allocations: 7.324 MB / 0.8376 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.3594, allocations: 0.9689 MB / 0.8385 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004305/0.3599, allocations: 117 kB / 0.8386 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.3602, allocations: 203.4 kB / 0.8388 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.3602, allocations: 0 / 0.8388 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3926, allocations: 13.28 MB / 0.8518 GB, free: 7.746 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.3929, allocations: 216.5 kB / 0.852 GB, free: 7.512 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.543, allocations: 0 / 0.852 GB, free: 7.512 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: