Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.00105/0.00105, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009969/0.000997, allocations: 177.3 kB / 15.94 MB, free: 228 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.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.344 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.397/2.397, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7542, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01373/0.768, allocations: 10.38 MB / 0.9637 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.7783, allocations: 4.934 MB / 0.9686 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.7799, allocations: 29.59 kB / 0.9686 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.7814, allocations: 327.4 kB / 0.9689 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.7837, allocations: 0.5287 MB / 0.9694 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.786, allocations: 0.5621 MB / 0.97 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.7885, allocations: 1.154 MB / 0.9711 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/0.7948, allocations: 3.611 MB / 0.9746 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.7964, allocations: 0.6035 MB / 0.9752 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.7981, allocations: 0.678 MB / 0.9759 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.7986, allocations: 94.5 kB / 0.976 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.8002, allocations: 298 kB / 0.9762 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.8015, allocations: 0.6676 MB / 0.9769 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009614/0.8025, allocations: 344 kB / 0.9772 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.8065, allocations: 3.028 MB / 0.9802 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8065, allocations: 0 / 0.9802 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8065, allocations: 0 / 0.9802 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001197/0.8066, allocations: 0 / 0.9802 GB, free: 4.859 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004617/0.8113, allocations: 1.64 MB / 0.9818 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.8113, allocations: 8.031 kB / 0.9818 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007331/0.8121, allocations: 256.2 kB / 0.982 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.8146, allocations: 497.5 kB / 0.9825 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.817, allocations: 1.135 MB / 0.9836 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.8171, allocations: 119.1 kB / 0.9837 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.8173, allocations: 152 kB / 0.9839 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/0.8215, allocations: 2.723 MB / 0.9865 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.8216, allocations: 11.92 kB / 0.9865 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.8218, allocations: 67.98 kB / 0.9866 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.8221, allocations: 170.9 kB / 0.9868 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.8258, allocations: 2.284 MB / 0.989 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.8389, allocations: 10.54 MB / 0.9993 GB, free: 204 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.84, allocations: 0.584 MB / 0.9999 GB, free: 15.61 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.8401, allocations: 93.09 kB / 1 GB, free: 15.5 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.8401, allocations: 34.56 kB / 1 GB, free: 15.45 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=36): time 2.515e-06/0.8402, allocations: 0 / 1 GB, free: 15.45 MB / 0.7638 GB Notification: Performance of matching and sorting (n=52): time 0.02022/0.8604, allocations: 6.289 MB / 1.006 GB, free: 9.102 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.8605, allocations: 81.55 kB / 1.006 GB, free: 9.004 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.8619, allocations: 0.8983 MB / 1.007 GB, free: 8.098 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.8621, allocations: 37.7 kB / 1.007 GB, free: 8.055 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.8626, allocations: 0.7499 MB / 1.008 GB, free: 7.293 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.8628, allocations: 185.4 kB / 1.008 GB, free: 7.109 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.8629, allocations: 20 kB / 1.008 GB, free: 7.09 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.8631, allocations: 386.8 kB / 1.008 GB, free: 6.703 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.864, allocations: 0.6421 MB / 1.009 GB, free: 6.059 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.8652, allocations: 1.015 MB / 1.01 GB, free: 4.875 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.8664, allocations: 0.8218 MB / 1.011 GB, free: 4.055 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.8664, allocations: 7.953 kB / 1.011 GB, free: 4.047 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008569/0.875, allocations: 3.206 MB / 1.014 GB, free: 0.8203 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.8765, allocations: 4.541 MB / 1.018 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.8766, allocations: 8 kB / 1.018 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/0.8843, allocations: 1.86 MB / 1.02 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.8853, allocations: 223.6 kB / 1.02 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.8993, allocations: 10.52 MB / 1.031 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.9011, allocations: 179.6 kB / 1.031 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.9012, allocations: 40 kB / 1.031 GB, free: 14.56 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.9013, allocations: 8.062 kB / 1.031 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006905/0.9082, allocations: 2.629 MB / 1.034 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/0.9083, allocations: 12 kB / 1.034 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/0.9133, allocations: 1.196 MB / 1.035 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.9144, allocations: 259.5 kB / 1.035 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/0.9218, allocations: 5.692 MB / 1.04 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.9232, allocations: 151.7 kB / 1.041 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.9235, allocations: 44 kB / 1.041 GB, free: 4.293 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.9253, allocations: 0.8479 MB / 1.042 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.9255, allocations: 75.06 kB / 1.042 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007606/0.9331, allocations: 2.703 MB / 1.044 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9332, allocations: 4 kB / 1.044 GB, free: 0.625 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9332, allocations: 4 kB / 1.044 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9332, allocations: 3.984 kB / 1.044 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.944, allocations: 4.539 MB / 1.049 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.9441, allocations: 4 kB / 1.049 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.9445, allocations: 95.84 kB / 1.049 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006906/0.9514, allocations: 1.704 MB / 1.05 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.9516, allocations: 12 kB / 1.05 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.9644, allocations: 10.05 MB / 1.06 GB, free: 15.56 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.9644, allocations: 4 kB / 1.06 GB, free: 15.56 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008194/0.9726, allocations: 2.747 MB / 1.063 GB, free: 12.71 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.9736, allocations: 292 kB / 1.063 GB, free: 12.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.9739, allocations: 15.92 kB / 1.063 GB, free: 12.39 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.9749, allocations: 131.8 kB / 1.063 GB, free: 12.26 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.9752, allocations: 47.94 kB / 1.063 GB, free: 12.21 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/0.9753, allocations: 16 kB / 1.063 GB, free: 12.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.001198/0.9765, allocations: 0.6356 MB / 1.064 GB, free: 11.57 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9765, allocations: 0 / 1.064 GB, free: 11.57 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.002612/0.9791, allocations: 0.5977 MB / 1.065 GB, free: 10.97 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008029/0.9871, allocations: 3.893 MB / 1.068 GB, free: 6.973 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.00538/0.9925, allocations: 3.255 MB / 1.072 GB, free: 3.641 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.9926, allocations: 0 / 1.072 GB, free: 3.641 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.9945, allocations: 1.292 MB / 1.073 GB, free: 2.297 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.9957, allocations: 220.7 kB / 1.073 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.017, allocations: 17.48 MB / 1.09 GB, free: 276 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.019, allocations: 1.645 MB / 1.092 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001286/1.02, allocations: 490.3 kB / 1.092 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/1.02, allocations: 495.3 kB / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/1.02, allocations: 0 / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/1.075, allocations: 34.54 MB / 1.126 GB, free: 11.45 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.075, allocations: 242.7 kB / 1.127 GB, free: 11.21 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.242, allocations: 0 / 1.127 GB, free: 11.21 MB / 0.8888 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat