Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 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.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001177/0.001177, allocations: 100.2 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.001291/0.001291, 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.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.289 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.34/2.34, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 11.98 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7831, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02483/0.808, allocations: 19.83 MB / 0.973 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.8211, allocations: 5.973 MB / 0.9788 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003019/0.8242, allocations: 74.53 kB / 0.9789 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.8265, allocations: 424.7 kB / 0.9793 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.8317, allocations: 1.113 MB / 0.9804 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.8351, allocations: 0.8374 MB / 0.9812 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007296/0.8424, allocations: 2.813 MB / 0.9839 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.8543, allocations: 6.202 MB / 0.99 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.8578, allocations: 1.514 MB / 0.9915 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.8614, allocations: 1.721 MB / 0.9931 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009574/0.8624, allocations: 200 kB / 0.9933 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.8644, allocations: 455.5 kB / 0.9938 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.8669, allocations: 1.571 MB / 0.9953 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.8685, allocations: 0.7342 MB / 0.996 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.8749, allocations: 5.897 MB / 1.002 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8749, allocations: 0 / 1.002 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8749, allocations: 0 / 1.002 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000198/0.8751, allocations: 0 / 1.002 GB, free: 14.65 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006302/0.8814, allocations: 3.076 MB / 1.005 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8815, allocations: 11.97 kB / 1.005 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001045/0.8825, allocations: 0.5051 MB / 1.005 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.8884, allocations: 1.263 MB / 1.007 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.8942, allocations: 2.157 MB / 1.009 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.8944, allocations: 242.4 kB / 1.009 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000785/0.8952, allocations: 311.9 kB / 1.009 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.9071, allocations: 6.162 MB / 1.015 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-05/0.9072, allocations: 19.78 kB / 1.015 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.9076, allocations: 139.9 kB / 1.015 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005253/0.9081, allocations: 406.4 kB / 1.016 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008297/0.9164, allocations: 4.643 MB / 1.02 GB, free: 11.33 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.9476, allocations: 29.06 MB / 1.049 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.9498, allocations: 1.414 MB / 1.05 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.9499, allocations: 16.98 kB / 1.05 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.95, allocations: 43.56 kB / 1.05 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.647e-06/0.95, allocations: 0 / 1.05 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179): time 0.1392/1.089, allocations: 36.31 MB / 1.086 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.089, allocations: 69.41 kB / 1.086 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/1.091, allocations: 1.411 MB / 1.087 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003227/1.092, allocations: 53.7 kB / 1.087 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.093, allocations: 1.538 MB / 1.089 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/1.093, allocations: 0.6161 MB / 1.089 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.094, allocations: 40 kB / 1.089 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.094, allocations: 385.9 kB / 1.09 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/1.096, allocations: 1.776 MB / 1.091 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/1.099, allocations: 2.331 MB / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/1.102, allocations: 2.055 MB / 1.096 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.102, allocations: 11.98 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01793/1.12, allocations: 8.536 MB / 1.104 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.12, allocations: 16.89 kB / 1.104 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.12, allocations: 16 kB / 1.104 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/1.135, allocations: 4.633 MB / 1.108 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.136, allocations: 299.5 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04604/1.182, allocations: 30.82 MB / 1.139 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.184, allocations: 151.8 kB / 1.139 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/1.185, allocations: 87.92 kB / 1.139 GB, free: 13.66 MB / 0.9044 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002212/1.187, allocations: 1.326 MB / 1.14 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/1.187, allocations: 201.6 kB / 1.141 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/1.204, allocations: 8.422 MB / 1.149 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.204, allocations: 16 kB / 1.149 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-05/1.204, allocations: 24 kB / 1.149 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.204, allocations: 7.969 kB / 1.149 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/1.229, allocations: 12.84 MB / 1.161 GB, free: 6.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.229, allocations: 4 kB / 1.161 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/1.23, allocations: 167.7 kB / 1.162 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.243, allocations: 4.489 MB / 1.166 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/1.243, allocations: 36 kB / 1.166 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04599/1.289, allocations: 30.45 MB / 1.196 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.289, allocations: 7.938 kB / 1.196 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.307, allocations: 8.631 MB / 1.204 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.309, allocations: 0.6236 MB / 1.205 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/1.31, allocations: 36 kB / 1.205 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.311, allocations: 139.8 kB / 1.205 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/1.312, allocations: 176.9 kB / 1.205 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.312, allocations: 52 kB / 1.205 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001366/1.313, allocations: 0.9392 MB / 1.206 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.313, allocations: 0 / 1.206 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003748/1.317, allocations: 1.117 MB / 1.207 GB, free: 6.598 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02025/1.337, allocations: 10.98 MB / 1.218 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.352, allocations: 6.415 MB / 1.224 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.352, allocations: 4 kB / 1.224 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.009329/1.362, allocations: 4.277 MB / 1.228 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.364, allocations: 464.5 kB / 1.229 GB, free: 76 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.599/1.963, allocations: 36.03 MB / 1.264 GB, free: 278 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.967, allocations: 2.793 MB / 1.267 GB, free: 277.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001497/1.969, allocations: 391.6 kB / 1.267 GB, free: 277.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.97, allocations: 1.214 MB / 1.268 GB, free: 277.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.97, allocations: 0 / 1.268 GB, free: 277.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/2.079, allocations: 78.64 MB / 1.345 GB, free: 223.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/2.079, allocations: 233.4 kB / 1.345 GB, free: 222.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/5.247, allocations: 4 kB / 1.345 GB, free: 222.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat does not exist to compare? outputFormat=mat