Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001214/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.346/1.346, allocations: 205.1 MB / 222 MB, free: 4.734 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.641/1.641, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.0013/0.0013, allocations: 74.11 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02031/0.2088, allocations: 20.03 MB / 0.8024 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2191, allocations: 6.497 MB / 0.8087 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.2222, allocations: 79.56 kB / 0.8088 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006056/0.2283, allocations: 2.082 MB / 0.8108 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.2317, allocations: 1.116 MB / 0.8119 GB, free: 20 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.2348, allocations: 1.158 MB / 0.813 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007493/0.2423, allocations: 6.968 MB / 0.8198 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008026/0.2503, allocations: 6.165 MB / 0.8259 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.2532, allocations: 1.779 MB / 0.8276 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.2565, allocations: 2.387 MB / 0.8299 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006213/0.2572, allocations: 296 kB / 0.8302 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.2593, allocations: 1.022 MB / 0.8312 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.2608, allocations: 1.532 MB / 0.8327 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.2632, allocations: 1.758 MB / 0.8344 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.2698, allocations: 6.415 MB / 0.8407 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2698, allocations: 0 / 0.8407 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2698, allocations: 3.938 kB / 0.8407 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001767/0.27, allocations: 0 / 0.8407 GB, free: 2.422 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00742/0.2774, allocations: 3.456 MB / 0.8441 GB, free: 14.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2775, allocations: 12.03 kB / 0.8441 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000557/0.2781, allocations: 462.5 kB / 0.8445 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.2813, allocations: 0.6294 MB / 0.8451 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.2844, allocations: 1.943 MB / 0.847 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2846, allocations: 214.3 kB / 0.8472 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.285, allocations: 300.1 kB / 0.8475 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/0.2927, allocations: 4.89 MB / 0.8523 GB, free: 6.195 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/0.2928, allocations: 11.84 kB / 0.8523 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.2931, allocations: 128 kB / 0.8524 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000417/0.2936, allocations: 237.7 kB / 0.8527 GB, free: 5.824 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.2996, allocations: 3.746 MB / 0.8563 GB, free: 2.066 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/0.3218, allocations: 21.57 MB / 0.8774 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3236, allocations: 1.309 MB / 0.8787 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.325, allocations: 1.049 MB / 0.8797 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.325, allocations: 13 kB / 0.8797 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3251, allocations: 51.55 kB / 0.8797 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.3251, allocations: 0 / 0.8797 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02329/0.3484, allocations: 8.645 MB / 0.8882 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3485, allocations: 72.72 kB / 0.8883 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.3501, allocations: 1.126 MB / 0.8894 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.3503, allocations: 53.7 kB / 0.8894 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.3511, allocations: 1.292 MB / 0.8907 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.3516, allocations: 481.1 kB / 0.8911 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.352, allocations: 295.3 kB / 0.8914 GB, free: 12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3521, allocations: 305.1 kB / 0.8917 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.3534, allocations: 0.9096 MB / 0.8926 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.355, allocations: 1.326 MB / 0.8939 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.358, allocations: 2.426 MB / 0.8963 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.358, allocations: 4 kB / 0.8963 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005967/0.364, allocations: 3.468 MB / 0.8996 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3641, allocations: 12 kB / 0.8997 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3641, allocations: 12 kB / 0.8997 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.3673, allocations: 1.185 MB / 0.9008 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.3682, allocations: 263.5 kB / 0.9011 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/0.3839, allocations: 12.72 MB / 0.9135 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.3854, allocations: 87.97 kB / 0.9136 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3855, allocations: 68 kB / 0.9136 GB, free: 4.457 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.3874, allocations: 1.114 MB / 0.9147 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.3877, allocations: 162.1 kB / 0.9149 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3831/0.7709, allocations: 3.173 MB / 0.918 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.7709, allocations: 15.16 kB / 0.918 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-05/0.771, allocations: 12.06 kB / 0.918 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/0.7711, allocations: 10.69 kB / 0.918 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.7841, allocations: 6.241 MB / 0.9241 GB, free: 126 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.7841, allocations: 5.938 kB / 0.9241 GB, free: 126 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.7846, allocations: 149.4 kB / 0.9243 GB, free: 126 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.7874, allocations: 1.065 MB / 0.9253 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.7875, allocations: 32.16 kB / 0.9253 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/0.8018, allocations: 12.4 MB / 0.9374 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.8019, allocations: 9.156 kB / 0.9375 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006126/0.808, allocations: 3.161 MB / 0.9405 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.8091, allocations: 424.1 kB / 0.9409 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/0.8095, allocations: 32.14 kB / 0.941 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.8106, allocations: 79.12 kB / 0.9411 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/0.8112, allocations: 127.7 kB / 0.9412 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.8113, allocations: 39.84 kB / 0.9412 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001387/0.8127, allocations: 0.7633 MB / 0.942 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8127, allocations: 0 / 0.942 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002575/0.8153, allocations: 0.6646 MB / 0.9426 GB, free: 116.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005903/0.8212, allocations: 3.739 MB / 0.9463 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.8258, allocations: 3.119 MB / 0.9493 GB, free: 113 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.8259, allocations: 5.766 kB / 0.9493 GB, free: 113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.8286, allocations: 1.951 MB / 0.9512 GB, free: 112 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.8311, allocations: 479.5 kB / 0.9517 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/0.8575, allocations: 21.37 MB / 0.9725 GB, free: 99.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.8593, allocations: 2.343 MB / 0.9748 GB, free: 97.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001051/0.8604, allocations: 354.5 kB / 0.9752 GB, free: 97.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.8612, allocations: 1.011 MB / 0.9762 GB, free: 96.02 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8612, allocations: 3.828 kB / 0.9762 GB, free: 96.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.9224, allocations: 50.25 MB / 1.025 GB, free: 46.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.9226, allocations: 241.8 kB / 1.025 GB, free: 46.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.507, allocations: 3.375 kB / 1.025 GB, free: 46.18 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)