Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",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.001093/0.001094, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001735/0.001735, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7173/0.7177, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004685/0.7224, allocations: 4.52 MB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.7266, allocations: 3.084 MB / 0.9613 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.7269, allocations: 6.375 kB / 0.9613 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.7274, allocations: 162.5 kB / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.7282, allocations: 311.2 kB / 0.9617 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.7287, allocations: 192.6 kB / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.7295, allocations: 0.7032 MB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.7307, allocations: 0.7323 MB / 0.9633 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.7311, allocations: 195.6 kB / 0.9635 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.7315, allocations: 252.8 kB / 0.9638 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.7315, allocations: 19.75 kB / 0.9638 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.7322, allocations: 239.3 kB / 0.964 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.7323, allocations: 147.8 kB / 0.9641 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.7324, allocations: 105.8 kB / 0.9642 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.7331, allocations: 0.7132 MB / 0.9649 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7331, allocations: 0 / 0.9649 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7331, allocations: 0 / 0.9649 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7331, allocations: 0 / 0.9649 GB, free: 15.82 MB / 0.7325 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.001335/0.7345, allocations: 0.7449 MB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7345, allocations: 10.16 kB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.7346, allocations: 75.8 kB / 0.9657 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.7373, allocations: 0.6977 MB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.7382, allocations: 486.6 kB / 0.9669 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.7383, allocations: 20.56 kB / 0.9669 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.7384, allocations: 29.09 kB / 0.9669 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.7401, allocations: 0.8405 MB / 0.9678 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.7401, allocations: 8.812 kB / 0.9678 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.7401, allocations: 12.06 kB / 0.9678 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.7404, allocations: 68.97 kB / 0.9678 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.7424, allocations: 0.937 MB / 0.9688 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.7468, allocations: 2.927 MB / 0.9716 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.7483, allocations: 0.5571 MB / 0.9722 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.749, allocations: 320.8 kB / 0.9725 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.7492, allocations: 87.91 kB / 0.9726 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.7492, allocations: 35.88 kB / 0.9726 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.394e-06/0.7492, allocations: 1.031 kB / 0.9726 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.01184/0.7611, allocations: 3.651 MB / 0.9762 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7612, allocations: 81.3 kB / 0.9762 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.7617, allocations: 411.5 kB / 0.9766 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.7618, allocations: 32.08 kB / 0.9767 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.762, allocations: 235 kB / 0.9769 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.7621, allocations: 104.4 kB / 0.977 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.7622, allocations: 10.41 kB / 0.977 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7623, allocations: 348.8 kB / 0.9773 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.7632, allocations: 403.9 kB / 0.9777 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.7641, allocations: 495.4 kB / 0.9782 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.765, allocations: 436.8 kB / 0.9786 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.765, allocations: 0 / 0.9786 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004917/0.7699, allocations: 1.724 MB / 0.9803 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.7701, allocations: 155.8 kB / 0.9804 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7701, allocations: 4 kB / 0.9804 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/0.774, allocations: 0.9777 MB / 0.9814 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.7746, allocations: 139.8 kB / 0.9815 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008449/0.7831, allocations: 6.402 MB / 0.9878 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.7839, allocations: 115.8 kB / 0.9879 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.784, allocations: 15.98 kB / 0.9879 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.784, allocations: 7.938 kB / 0.9879 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004579/0.7886, allocations: 1.656 MB / 0.9895 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7886, allocations: 0 / 0.9895 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.7914, allocations: 0.7251 MB / 0.9902 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.792, allocations: 136 kB / 0.9904 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.7995, allocations: 5.441 MB / 0.9957 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.8004, allocations: 119.9 kB / 0.9958 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.8004, allocations: 12 kB / 0.9958 GB, free: 3.695 MB / 0.7481 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006199/0.8011, allocations: 328.9 kB / 0.9961 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.8013, allocations: 31.62 kB / 0.9961 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.8064, allocations: 1.626 MB / 0.9977 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8064, allocations: 4 kB / 0.9977 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8064, allocations: 3.984 kB / 0.9977 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8064, allocations: 0 / 0.9977 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/0.8122, allocations: 2.326 MB / 1 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8122, allocations: 0 / 1 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.8127, allocations: 83.84 kB / 1 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.8163, allocations: 0.927 MB / 1.001 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.8164, allocations: 8 kB / 1.001 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007825/0.8242, allocations: 6.235 MB / 1.007 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8242, allocations: 0 / 1.007 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.8287, allocations: 1.636 MB / 1.009 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.829, allocations: 180.6 kB / 1.009 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.8291, allocations: 8 kB / 1.009 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.8297, allocations: 91.86 kB / 1.009 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8299, allocations: 39.84 kB / 1.009 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.8299, allocations: 12 kB / 1.009 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003828/0.8303, allocations: 307.1 kB / 1.009 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8303, allocations: 0 / 1.009 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009687/0.8313, allocations: 244 kB / 1.01 GB, free: 5.059 MB / 0.7637 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004937/0.8362, allocations: 2.2 MB / 1.012 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004296/0.8405, allocations: 2.251 MB / 1.014 GB, free: 472 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8406, allocations: 3.938 kB / 1.014 GB, free: 468 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.842, allocations: 0.836 MB / 1.015 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.8427, allocations: 121.5 kB / 1.015 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.8521, allocations: 4.573 MB / 1.019 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.8528, allocations: 0.9336 MB / 1.02 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005968/0.8534, allocations: 171.2 kB / 1.02 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.8536, allocations: 139.4 kB / 1.02 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/0.8536, allocations: 0 / 1.02 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.8902, allocations: 18.04 MB / 1.038 GB, free: 7.793 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.8905, allocations: 244.6 kB / 1.038 GB, free: 7.555 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.083, allocations: 4 kB / 1.038 GB, free: 7.551 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat