Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.001109/0.001109, allocations: 84.38 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.001252/0.001252, 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 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.414 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.539/2.539, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8458, allocations: 142.3 MB / 0.9539 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01135/0.8572, allocations: 10.81 MB / 0.9644 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009101/0.8664, allocations: 5.204 MB / 0.9695 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.8678, allocations: 31.31 kB / 0.9695 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.869, allocations: 295.3 kB / 0.9698 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.8707, allocations: 0.536 MB / 0.9703 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.8725, allocations: 493.3 kB / 0.9708 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004003/0.8765, allocations: 2.934 MB / 0.9737 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006141/0.8827, allocations: 3.863 MB / 0.9774 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.8846, allocations: 0.773 MB / 0.9782 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.8868, allocations: 1.094 MB / 0.9793 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.8871, allocations: 104 kB / 0.9794 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.8884, allocations: 311.7 kB / 0.9797 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.8892, allocations: 0.7482 MB / 0.9804 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.8897, allocations: 360.9 kB / 0.9807 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.8933, allocations: 3.288 MB / 0.984 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.8933, allocations: 0 / 0.984 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8933, allocations: 0 / 0.984 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.232e-05/0.8934, allocations: 4 kB / 0.984 GB, free: 1.375 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003954/0.8974, allocations: 1.757 MB / 0.9857 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.8975, allocations: 16.02 kB / 0.9857 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005373/0.898, allocations: 260.7 kB / 0.9859 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.9011, allocations: 0.7432 MB / 0.9867 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.9036, allocations: 1.246 MB / 0.9879 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.561e-05/0.9038, allocations: 119.2 kB / 0.988 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/0.9041, allocations: 164 kB / 0.9882 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.909, allocations: 2.933 MB / 0.991 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.909, allocations: 7.906 kB / 0.991 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.9092, allocations: 75.92 kB / 0.9911 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003797/0.9096, allocations: 206.9 kB / 0.9913 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.9134, allocations: 2.499 MB / 0.9937 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.9272, allocations: 10.92 MB / 1.004 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.9286, allocations: 0.9147 MB / 1.005 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.9292, allocations: 0.5051 MB / 1.006 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.9294, allocations: 97.45 kB / 1.006 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9294, allocations: 34.94 kB / 1.006 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=46): time 2.484e-06/0.9294, allocations: 0 / 1.006 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.0253/0.9547, allocations: 8.975 MB / 1.015 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.9548, allocations: 85.67 kB / 1.015 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.9563, allocations: 0.9376 MB / 1.016 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.9564, allocations: 37.7 kB / 1.016 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.957, allocations: 0.7736 MB / 1.016 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.9573, allocations: 252.5 kB / 1.017 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.9574, allocations: 20 kB / 1.017 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.9576, allocations: 398.8 kB / 1.017 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.9588, allocations: 0.8028 MB / 1.018 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.9602, allocations: 1.156 MB / 1.019 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.9616, allocations: 0.9984 MB / 1.02 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.9616, allocations: 4 kB / 1.02 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009104/0.9707, allocations: 3.775 MB / 1.024 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003587/0.9711, allocations: 413.2 kB / 1.024 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.9711, allocations: 16 kB / 1.024 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007573/0.9787, allocations: 2.155 MB / 1.026 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.9796, allocations: 227.6 kB / 1.026 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.9944, allocations: 10.26 MB / 1.036 GB, free: 9.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9957, allocations: 207.6 kB / 1.037 GB, free: 9.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.9958, allocations: 59.91 kB / 1.037 GB, free: 9.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.9958, allocations: 0 / 1.037 GB, free: 9.5 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007026/1.003, allocations: 3.08 MB / 1.04 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/1.003, allocations: 8 kB / 1.04 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/1.008, allocations: 1.36 MB / 1.041 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.009, allocations: 291.5 kB / 1.041 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/1.019, allocations: 6.147 MB / 1.047 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.02, allocations: 175.7 kB / 1.047 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.02, allocations: 51.98 kB / 1.048 GB, free: 14.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001517/1.022, allocations: 0.8986 MB / 1.048 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/1.022, allocations: 86.97 kB / 1.048 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008287/1.03, allocations: 3.316 MB / 1.052 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.03, allocations: 8 kB / 1.052 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.03, allocations: 8 kB / 1.052 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.03, allocations: 3.984 kB / 1.052 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.041, allocations: 5.489 MB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.041, allocations: 4 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/1.042, allocations: 107.8 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006809/1.049, allocations: 1.978 MB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/1.049, allocations: 12 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.061, allocations: 9.667 MB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.062, allocations: 11.94 kB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/1.069, allocations: 3.202 MB / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/1.07, allocations: 343.9 kB / 1.072 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/1.07, allocations: 12 kB / 1.072 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/1.071, allocations: 151.8 kB / 1.072 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/1.071, allocations: 64.41 kB / 1.072 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/1.071, allocations: 27.95 kB / 1.072 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009386/1.072, allocations: 0.6707 MB / 1.073 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/1.072, allocations: 0 / 1.073 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00221/1.074, allocations: 0.7031 MB / 1.074 GB, free: 3.012 MB / 0.8262 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): 40 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008067/1.082, allocations: 3.793 MB / 1.077 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007318/1.09, allocations: 3.913 MB / 1.081 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.09, allocations: 0 / 1.081 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/1.092, allocations: 1.317 MB / 1.082 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.093, allocations: 254.6 kB / 1.083 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.114, allocations: 11.42 MB / 1.094 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.116, allocations: 1.715 MB / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00131/1.117, allocations: 0.5265 MB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/1.118, allocations: 0.4954 MB / 1.097 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/1.118, allocations: 0 / 1.097 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06393/1.182, allocations: 41.84 MB / 1.137 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.182, allocations: 258.2 kB / 1.138 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.532, allocations: 2.5 kB / 1.138 GB, free: 1.402 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat does not exist to compare? outputFormat=mat