Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001226/0.001226, allocations: 193.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222 MB, free: 4.742 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.63/1.63, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001463/0.001464, allocations: 73.62 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02643/0.2539, allocations: 26.36 MB / 0.8085 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2672, allocations: 8.119 MB / 0.8165 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.2697, allocations: 103.4 kB / 0.8166 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006172/0.2759, allocations: 2.559 MB / 0.8191 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.2801, allocations: 1.493 MB / 0.8205 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.284, allocations: 1.543 MB / 0.822 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008346/0.2924, allocations: 8.704 MB / 0.8305 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.3032, allocations: 8.184 MB / 0.8385 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.3071, allocations: 2.195 MB / 0.8407 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004974/0.3121, allocations: 2.885 MB / 0.8435 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.3131, allocations: 348 kB / 0.8438 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.3171, allocations: 1.33 MB / 0.8451 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.3195, allocations: 1.883 MB / 0.847 GB, free: 11.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003225/0.3227, allocations: 2.182 MB / 0.8491 GB, free: 9.754 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007717/0.3305, allocations: 7.926 MB / 0.8568 GB, free: 1.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3305, allocations: 4 kB / 0.8568 GB, free: 1.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3305, allocations: 0 / 0.8568 GB, free: 1.801 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002402/0.3307, allocations: 0 / 0.8568 GB, free: 1.801 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009562/0.3403, allocations: 4.224 MB / 0.861 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3404, allocations: 12.03 kB / 0.861 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009132/0.3413, allocations: 0.5421 MB / 0.8615 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.3456, allocations: 0.8 MB / 0.8623 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.3501, allocations: 2.428 MB / 0.8647 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.3503, allocations: 271.6 kB / 0.8649 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.3511, allocations: 376.5 kB / 0.8653 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.3612, allocations: 5.992 MB / 0.8711 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.3614, allocations: 15.88 kB / 0.8711 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004241/0.3618, allocations: 160 kB / 0.8713 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005993/0.3624, allocations: 278.9 kB / 0.8716 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00871/0.3711, allocations: 4.524 MB / 0.876 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03181/0.403, allocations: 27.66 MB / 0.903 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4047, allocations: 1.115 MB / 0.9041 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.4061, allocations: 1.034 MB / 0.9051 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.21e-05/0.4062, allocations: 9 kB / 0.9051 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.4063, allocations: 47.56 kB / 0.9051 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.855e-06/0.4063, allocations: 0 / 0.9051 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02211/0.4284, allocations: 9.651 MB / 0.9146 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4285, allocations: 72.64 kB / 0.9146 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.4309, allocations: 1.494 MB / 0.9161 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.431, allocations: 49.7 kB / 0.9161 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4322, allocations: 1.663 MB / 0.9178 GB, free: 224 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.3633/0.7955, allocations: 466 kB / 0.9182 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/0.7962, allocations: 329.9 kB / 0.9185 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.7962, allocations: 307.2 kB / 0.9188 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.7977, allocations: 0.9169 MB / 0.9197 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.7994, allocations: 1.464 MB / 0.9211 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.8024, allocations: 2.546 MB / 0.9236 GB, free: 125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.8024, allocations: 7.156 kB / 0.9236 GB, free: 125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00511/0.8075, allocations: 3.29 MB / 0.9269 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.8076, allocations: 11.69 kB / 0.9269 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.8076, allocations: 22.45 kB / 0.9269 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.8098, allocations: 0.7335 MB / 0.9276 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.8112, allocations: 388.2 kB / 0.928 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.8236, allocations: 15.75 MB / 0.9434 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.8252, allocations: 104.1 kB / 0.9435 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.8254, allocations: 76.62 kB / 0.9435 GB, free: 110 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.828, allocations: 1.307 MB / 0.9448 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/0.8286, allocations: 210 kB / 0.945 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005978/0.8346, allocations: 2.787 MB / 0.9477 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.8346, allocations: 12.72 kB / 0.9477 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/0.8346, allocations: 15.78 kB / 0.9478 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.8347, allocations: 6.828 kB / 0.9478 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009872/0.8445, allocations: 6.209 MB / 0.9538 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.8446, allocations: 9.469 kB / 0.9538 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.8457, allocations: 232.8 kB / 0.9541 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.8477, allocations: 0.6712 MB / 0.9547 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.8478, allocations: 31 kB / 0.9547 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.8588, allocations: 15.52 MB / 0.9699 GB, free: 91.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.8588, allocations: 9.438 kB / 0.9699 GB, free: 91.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.8646, allocations: 4.007 MB / 0.9738 GB, free: 90.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/0.8654, allocations: 448.8 kB / 0.9742 GB, free: 89.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.8657, allocations: 44.33 kB / 0.9743 GB, free: 89.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.8665, allocations: 83.08 kB / 0.9744 GB, free: 89.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.8668, allocations: 116.1 kB / 0.9745 GB, free: 89.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.8669, allocations: 35.75 kB / 0.9745 GB, free: 89.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001128/0.868, allocations: 0.9955 MB / 0.9755 GB, free: 89.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.868, allocations: 0 / 0.9755 GB, free: 89.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002132/0.8702, allocations: 0.6879 MB / 0.9762 GB, free: 88.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005073/0.8752, allocations: 4.605 MB / 0.9807 GB, free: 86.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004262/0.8795, allocations: 3.501 MB / 0.9841 GB, free: 83.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8795, allocations: 0.875 kB / 0.9841 GB, free: 83.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.8821, allocations: 2.296 MB / 0.9863 GB, free: 81.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.8848, allocations: 0.6289 MB / 0.9869 GB, free: 81.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.9143, allocations: 24.24 MB / 1.011 GB, free: 56.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.9163, allocations: 2.664 MB / 1.013 GB, free: 54.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00146/0.9178, allocations: 489.4 kB / 1.014 GB, free: 53.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.9189, allocations: 1.276 MB / 1.015 GB, free: 52.25 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.9189, allocations: 3.938 kB / 1.015 GB, free: 52.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06746/0.9864, allocations: 54.99 MB / 1.069 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.9866, allocations: 246.1 kB / 1.069 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.678, allocations: 4.062 kB / 1.069 GB, free: 13.7 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)