Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",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.0009963/0.0009963, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001159/0.001159, allocations: 168.7 kB / 15.95 MB, free: 204 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.78/1.78, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.824/1.824, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005141/0.0005141, allocations: 13.66 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2804, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005682/0.2861, allocations: 4.564 MB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005144/0.2913, allocations: 3.509 MB / 0.7953 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.2916, allocations: 4 kB / 0.7953 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.2922, allocations: 218.2 kB / 0.7955 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009245/0.2932, allocations: 370.2 kB / 0.7959 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.2937, allocations: 191.5 kB / 0.796 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.2947, allocations: 0.7622 MB / 0.7968 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.2958, allocations: 0.7318 MB / 0.7975 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.2961, allocations: 199.2 kB / 0.7977 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.2964, allocations: 267 kB / 0.7979 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.2965, allocations: 20 kB / 0.798 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.2972, allocations: 319.6 kB / 0.7983 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2974, allocations: 143.6 kB / 0.7984 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.2975, allocations: 113.5 kB / 0.7985 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.2982, allocations: 0.7559 MB / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2982, allocations: 4 kB / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2982, allocations: 0 / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2982, allocations: 0 / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001158/0.2994, allocations: 0.7634 MB / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2994, allocations: 8.031 kB / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.165e-05/0.2995, allocations: 74.53 kB / 0.8001 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.3022, allocations: 0.7131 MB / 0.8008 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.3032, allocations: 0.5305 MB / 0.8013 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3032, allocations: 20.66 kB / 0.8013 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.3033, allocations: 35.94 kB / 0.8013 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3047, allocations: 0.8473 MB / 0.8022 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3048, allocations: 0 / 0.8022 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.3048, allocations: 12 kB / 0.8022 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.305, allocations: 68.56 kB / 0.8023 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3069, allocations: 0.9467 MB / 0.8032 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.3107, allocations: 2.937 MB / 0.806 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3121, allocations: 0.5751 MB / 0.8066 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/0.3128, allocations: 316.9 kB / 0.8069 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3129, allocations: 93.27 kB / 0.807 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3129, allocations: 42.64 kB / 0.807 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3129, allocations: 0 / 0.807 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.01258/0.3255, allocations: 4.08 MB / 0.811 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3256, allocations: 81.11 kB / 0.8111 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.3262, allocations: 457.5 kB / 0.8115 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.3262, allocations: 29.7 kB / 0.8116 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3264, allocations: 240.2 kB / 0.8118 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3265, allocations: 126.2 kB / 0.8119 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3266, allocations: 8 kB / 0.8119 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3267, allocations: 358.7 kB / 0.8123 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008949/0.3276, allocations: 448.5 kB / 0.8127 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.3286, allocations: 0.5212 MB / 0.8132 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.3295, allocations: 477.3 kB / 0.8137 GB, free: 380 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3296, allocations: 0 / 0.8137 GB, free: 380 kB / 0.6231 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005398/0.335, allocations: 1.928 MB / 0.8155 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.3351, allocations: 152 kB / 0.8157 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3351, allocations: 4 kB / 0.8157 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/0.3394, allocations: 1.094 MB / 0.8168 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.34, allocations: 131.8 kB / 0.8169 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.3505, allocations: 6.394 MB / 0.8231 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/0.3514, allocations: 115.8 kB / 0.8232 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.3515, allocations: 19.98 kB / 0.8233 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3515, allocations: 12.02 kB / 0.8233 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0047/0.3562, allocations: 1.617 MB / 0.8248 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/0.3563, allocations: 8.609 kB / 0.8249 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.3595, allocations: 0.8091 MB / 0.8256 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.3601, allocations: 143.8 kB / 0.8258 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.3683, allocations: 5.55 MB / 0.8312 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.3691, allocations: 115.9 kB / 0.8313 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.3692, allocations: 19.98 kB / 0.8313 GB, free: 13.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006267/0.3698, allocations: 336.8 kB / 0.8317 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.37, allocations: 39.53 kB / 0.8317 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/0.3754, allocations: 1.844 MB / 0.8335 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3755, allocations: 4 kB / 0.8335 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3755, allocations: 0 / 0.8335 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3755, allocations: 0 / 0.8335 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/0.3818, allocations: 2.565 MB / 0.836 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3818, allocations: 0 / 0.836 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.3822, allocations: 79.91 kB / 0.8361 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00417/0.3864, allocations: 1.032 MB / 0.8371 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.3865, allocations: 12 kB / 0.8371 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009378/0.3959, allocations: 6.059 MB / 0.843 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.3959, allocations: 4.031 kB / 0.843 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.4009, allocations: 1.794 MB / 0.8448 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.4014, allocations: 192.6 kB / 0.845 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4015, allocations: 8 kB / 0.845 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.4021, allocations: 99.86 kB / 0.8451 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.4023, allocations: 39.84 kB / 0.8451 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.4024, allocations: 11.98 kB / 0.8451 GB, free: 15.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004959/0.4029, allocations: 339.1 kB / 0.8454 GB, free: 14.81 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4029, allocations: 0 / 0.8454 GB, free: 14.81 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001296/0.4042, allocations: 288 kB / 0.8457 GB, free: 14.53 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.005545/0.4097, allocations: 2.405 MB / 0.8481 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006133/0.4159, allocations: 2.54 MB / 0.8505 GB, free: 9.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4159, allocations: 0 / 0.8505 GB, free: 9.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.4184, allocations: 0.9783 MB / 0.8515 GB, free: 8.477 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.4193, allocations: 120.8 kB / 0.8516 GB, free: 8.363 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.4313, allocations: 5.101 MB / 0.8566 GB, free: 3.164 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.4324, allocations: 0.9531 MB / 0.8575 GB, free: 2.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007292/0.4331, allocations: 155.4 kB / 0.8577 GB, free: 2.023 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.4335, allocations: 151.4 kB / 0.8578 GB, free: 1.875 MB / 0.67 GB Notification: Performance of SimCode: time 9.01e-07/0.4335, allocations: 0 / 0.8578 GB, free: 1.875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.4762, allocations: 20.98 MB / 0.8783 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.4765, allocations: 263 kB / 0.8785 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.689, allocations: 7.938 kB / 0.8786 GB, free: 12.89 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) Environment - environmentSimulation: