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.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 191.7 kB / 16.25 MB, free: 6.586 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.358/1.358, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.692/1.692, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001436/0.001436, allocations: 64.61 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02624/0.257, allocations: 26.35 MB / 0.8087 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.2706, allocations: 8.052 MB / 0.8166 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.273, allocations: 111.3 kB / 0.8167 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006291/0.2794, allocations: 2.579 MB / 0.8192 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.2834, allocations: 1.462 MB / 0.8206 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.2875, allocations: 1.534 MB / 0.8221 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007099/0.2946, allocations: 6.169 MB / 0.8282 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.3073, allocations: 8.944 MB / 0.8369 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.3113, allocations: 2.613 MB / 0.8394 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.3155, allocations: 2.967 MB / 0.8423 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.3169, allocations: 0.5117 MB / 0.8428 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.3202, allocations: 1.283 MB / 0.8441 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.3231, allocations: 2.054 MB / 0.8461 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004531/0.3276, allocations: 2.381 MB / 0.8484 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009307/0.3369, allocations: 8.067 MB / 0.8563 GB, free: 2.418 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.337, allocations: 0 / 0.8563 GB, free: 2.418 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.834e-06/0.337, allocations: 0 / 0.8563 GB, free: 2.418 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002182/0.3372, allocations: 0 / 0.8563 GB, free: 2.418 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.009565/0.3468, allocations: 4.224 MB / 0.8604 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3468, allocations: 15.97 kB / 0.8604 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/0.3479, allocations: 0.5421 MB / 0.861 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.3522, allocations: 0.7961 MB / 0.8618 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/0.357, allocations: 2.424 MB / 0.8641 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.3573, allocations: 279.6 kB / 0.8644 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008444/0.3581, allocations: 376.4 kB / 0.8647 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009526/0.3677, allocations: 5.988 MB / 0.8706 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-05/0.3678, allocations: 19.78 kB / 0.8706 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.3681, allocations: 160 kB / 0.8708 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005765/0.3687, allocations: 282.9 kB / 0.871 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/0.3762, allocations: 4.524 MB / 0.8755 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/0.4081, allocations: 27.67 MB / 0.9025 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.4098, allocations: 1.119 MB / 0.9036 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.4112, allocations: 1.019 MB / 0.9046 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.271e-05/0.4113, allocations: 13 kB / 0.9046 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4113, allocations: 47.56 kB / 0.9046 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.176e-06/0.4113, allocations: 8 kB / 0.9046 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02392/0.4353, allocations: 9.668 MB / 0.9141 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.4353, allocations: 68.72 kB / 0.9141 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.438, allocations: 1.494 MB / 0.9156 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.4382, allocations: 49.7 kB / 0.9156 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.4393, allocations: 1.671 MB / 0.9173 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.4398, allocations: 465.4 kB / 0.9177 GB, free: 356 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/0.4404, allocations: 327.2 kB / 0.918 GB, free: 24 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.4294/0.8698, allocations: 305.4 kB / 0.9183 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.8718, allocations: 0.9164 MB / 0.9192 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.8734, allocations: 1.465 MB / 0.9206 GB, free: 126 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.877, allocations: 2.544 MB / 0.9231 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.877, allocations: 7.219 kB / 0.9231 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005645/0.8827, allocations: 3.291 MB / 0.9263 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.8827, allocations: 11.75 kB / 0.9264 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.8828, allocations: 16.56 kB / 0.9264 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.8848, allocations: 0.7393 MB / 0.9271 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.8863, allocations: 383.4 kB / 0.9275 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.8996, allocations: 17.05 MB / 0.9441 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.9014, allocations: 99.14 kB / 0.9442 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.9016, allocations: 78.88 kB / 0.9443 GB, free: 109.1 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.002591/0.9042, allocations: 1.312 MB / 0.9456 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.9046, allocations: 203.3 kB / 0.9458 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/0.9103, allocations: 2.783 MB / 0.9485 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.9104, allocations: 17.12 kB / 0.9485 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/0.9104, allocations: 6.75 kB / 0.9485 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.9104, allocations: 7.219 kB / 0.9485 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.9214, allocations: 6.22 MB / 0.9546 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.9214, allocations: 4.375 kB / 0.9546 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.9226, allocations: 229.8 kB / 0.9548 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.9246, allocations: 0.6761 MB / 0.9555 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.9247, allocations: 35.8 kB / 0.9555 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.937, allocations: 16.8 MB / 0.9719 GB, free: 89.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.9371, allocations: 9.594 kB / 0.9719 GB, free: 89.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/0.9432, allocations: 4.011 MB / 0.9758 GB, free: 88.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009626/0.9442, allocations: 452.1 kB / 0.9763 GB, free: 87.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.9444, allocations: 41.22 kB / 0.9763 GB, free: 87.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000951/0.9454, allocations: 79.23 kB / 0.9764 GB, free: 87.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.9457, allocations: 119.8 kB / 0.9765 GB, free: 87.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.9458, allocations: 35.47 kB / 0.9765 GB, free: 87.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001218/0.947, allocations: 0.9949 MB / 0.9775 GB, free: 87.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.947, allocations: 0 / 0.9775 GB, free: 87.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002301/0.9493, allocations: 0.6844 MB / 0.9782 GB, free: 87.03 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.005271/0.9546, allocations: 4.611 MB / 0.9827 GB, free: 84.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005874/0.9605, allocations: 4.093 MB / 0.9867 GB, free: 81.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.9606, allocations: 8.75 kB / 0.9867 GB, free: 81.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.9632, allocations: 2.291 MB / 0.9889 GB, free: 79.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.9661, allocations: 0.6685 MB / 0.9896 GB, free: 79.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03827/1.004, allocations: 24.26 MB / 1.013 GB, free: 54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.008, allocations: 2.664 MB / 1.016 GB, free: 51.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00178/1.01, allocations: 489.4 kB / 1.016 GB, free: 50.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.012, allocations: 1.28 MB / 1.018 GB, free: 49.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.864e-06/1.012, allocations: 0 / 1.018 GB, free: 49.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08972/1.101, allocations: 56.33 MB / 1.073 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.102, allocations: 247.3 kB / 1.073 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.525/5.626, allocations: 0 / 1.073 GB, free: 9.723 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)