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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.233/1.233, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.553/1.553, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001308/0.001308, allocations: 67.39 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02549/0.1988, allocations: 26.58 MB / 0.8094 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.2102, allocations: 8.118 MB / 0.8174 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.2119, allocations: 119.4 kB / 0.8175 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.2179, allocations: 2.752 MB / 0.8202 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.2212, allocations: 1.582 MB / 0.8217 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.2245, allocations: 1.675 MB / 0.8234 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005547/0.2301, allocations: 6.15 MB / 0.8294 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007449/0.2375, allocations: 7.417 MB / 0.8366 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.2405, allocations: 2.563 MB / 0.8391 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/0.2436, allocations: 2.827 MB / 0.8419 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006352/0.2443, allocations: 0.5078 MB / 0.8424 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.2463, allocations: 1.291 MB / 0.8436 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.2479, allocations: 2.043 MB / 0.8456 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.2501, allocations: 2.389 MB / 0.848 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.256, allocations: 7.989 MB / 0.8558 GB, free: 3.016 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.256, allocations: 7.875 kB / 0.8558 GB, free: 3.008 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2561, allocations: 4 kB / 0.8558 GB, free: 3.004 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.741e-05/0.2562, allocations: 3.984 kB / 0.8558 GB, free: 3 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.00653/0.2627, allocations: 4.232 MB / 0.8599 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2627, allocations: 12.03 kB / 0.8599 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005986/0.2633, allocations: 0.5304 MB / 0.8604 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.267, allocations: 0.8001 MB / 0.8612 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.2704, allocations: 2.432 MB / 0.8636 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.2706, allocations: 271.6 kB / 0.8639 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/0.2712, allocations: 380.4 kB / 0.8642 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.2786, allocations: 5.984 MB / 0.8701 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.2787, allocations: 19.84 kB / 0.8701 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.2791, allocations: 164 kB / 0.8702 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005326/0.2796, allocations: 286.8 kB / 0.8705 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00596/0.2856, allocations: 4.516 MB / 0.8749 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/0.3077, allocations: 27.67 MB / 0.9019 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.3091, allocations: 1.116 MB / 0.903 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.3103, allocations: 1.023 MB / 0.904 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.3103, allocations: 9 kB / 0.904 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3104, allocations: 47.56 kB / 0.9041 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.404e-06/0.3104, allocations: 0 / 0.9041 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.01889/0.3293, allocations: 9.68 MB / 0.9135 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3293, allocations: 68.72 kB / 0.9136 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.3308, allocations: 1.486 MB / 0.915 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.3309, allocations: 53.7 kB / 0.9151 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/0.3319, allocations: 1.671 MB / 0.9167 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3322, allocations: 465.4 kB / 0.9172 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.3326, allocations: 331.1 kB / 0.9175 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3327, allocations: 305.1 kB / 0.9178 GB, free: 324 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2838/0.6165, allocations: 0.9132 MB / 0.9187 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.6182, allocations: 1.462 MB / 0.9201 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.6211, allocations: 2.552 MB / 0.9226 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.6211, allocations: 5.719 kB / 0.9226 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004927/0.626, allocations: 3.289 MB / 0.9258 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6261, allocations: 12.03 kB / 0.9258 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.6261, allocations: 16.78 kB / 0.9258 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.628, allocations: 0.7387 MB / 0.9266 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6293, allocations: 383.5 kB / 0.9269 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6406, allocations: 17.05 MB / 0.9436 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6419, allocations: 100.5 kB / 0.9437 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.642, allocations: 76.83 kB / 0.9437 GB, free: 108.7 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.001649/0.6436, allocations: 1.311 MB / 0.945 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.6439, allocations: 206.6 kB / 0.9452 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.6484, allocations: 2.776 MB / 0.9479 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.6484, allocations: 13.41 kB / 0.9479 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.6484, allocations: 11.09 kB / 0.9479 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6484, allocations: 14.64 kB / 0.948 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008363/0.6568, allocations: 6.223 MB / 0.954 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.6568, allocations: 5.031 kB / 0.954 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6579, allocations: 225.9 kB / 0.9543 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.6596, allocations: 0.678 MB / 0.9549 GB, free: 104 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.6596, allocations: 33.25 kB / 0.955 GB, free: 104 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.6699, allocations: 16.8 MB / 0.9714 GB, free: 89.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.67, allocations: 9.969 kB / 0.9714 GB, free: 89.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.6747, allocations: 4.003 MB / 0.9753 GB, free: 87.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.6752, allocations: 463.7 kB / 0.9757 GB, free: 87.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.6754, allocations: 33.42 kB / 0.9758 GB, free: 87.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/0.6762, allocations: 83.48 kB / 0.9758 GB, free: 87.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.6764, allocations: 112 kB / 0.9759 GB, free: 87.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.6765, allocations: 39.5 kB / 0.976 GB, free: 87.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000898/0.6774, allocations: 0.9921 MB / 0.9769 GB, free: 86.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6774, allocations: 0 / 0.9769 GB, free: 86.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001684/0.6791, allocations: 0.6839 MB / 0.9776 GB, free: 86.73 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.004397/0.6835, allocations: 4.608 MB / 0.9821 GB, free: 83.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004511/0.688, allocations: 4.098 MB / 0.9861 GB, free: 81.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6881, allocations: 2.875 kB / 0.9861 GB, free: 81.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.6902, allocations: 2.296 MB / 0.9884 GB, free: 79.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.6923, allocations: 0.6728 MB / 0.989 GB, free: 79.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.7124, allocations: 22.73 MB / 1.011 GB, free: 55.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.7141, allocations: 2.664 MB / 1.014 GB, free: 53.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001063/0.7152, allocations: 489.4 kB / 1.014 GB, free: 52.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/0.7161, allocations: 1.284 MB / 1.016 GB, free: 51.28 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7161, allocations: 0 / 1.016 GB, free: 51.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.231/4.947, allocations: 56.26 MB / 1.07 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/18.7, allocations: 11.62 kB / 1.07 GB, free: 11.73 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)