Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 390.6 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.8 kB / 491.2 MB, free: 1.512 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 221.5 MB / 0.7868 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009199, allocations: 95.95 kB / 0.9269 GB, free: 13.69 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.266e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2912, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.307, allocations: 177.3 MB / 1.386 GB, free: 16.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.308, allocations: 89.78 kB / 1.386 GB, free: 16.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3744/1.682, allocations: 160.7 MB / 1.543 GB, free: 4.254 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.795e-06/1.682, allocations: 0 / 1.543 GB, free: 4.254 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002285/1.682, allocations: 87.92 kB / 1.543 GB, free: 4.168 MB / 0.948 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.009257/1.692, allocations: 2.89 MB / 1.545 GB, free: 1.223 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.692, allocations: 12.03 kB / 1.545 GB, free: 1.211 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007149/1.699, allocations: 0.9749 MB / 1.546 GB, free: 236 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006008/1.705, allocations: 2.271 MB / 1.549 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/1.705, allocations: 104 kB / 1.549 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/1.707, allocations: 184 kB / 1.549 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008875/1.716, allocations: 3.637 MB / 1.552 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/1.729, allocations: 5.146 MB / 1.557 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-05/1.729, allocations: 19.86 kB / 1.558 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/1.73, allocations: 8 kB / 1.558 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006263/1.73, allocations: 322.3 kB / 1.558 GB, free: 4.156 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.03245/1.763, allocations: 28.37 MB / 1.586 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/1.765, allocations: 1.418 MB / 1.587 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.767, allocations: 1.458 MB / 1.588 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/1.767, allocations: 17.3 kB / 1.588 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.767, allocations: 43.88 kB / 1.588 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 8.816e-06/1.767, allocations: 0 / 1.588 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.03543/1.802, allocations: 13.55 MB / 1.602 GB, free: 4.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.802, allocations: 81.34 kB / 1.602 GB, free: 4.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.804, allocations: 1.042 MB / 1.603 GB, free: 3.434 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.804, allocations: 25.7 kB / 1.603 GB, free: 3.402 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.806, allocations: 1.523 MB / 1.604 GB, free: 1.859 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008101/1.806, allocations: 0.585 MB / 1.605 GB, free: 1.266 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.806, allocations: 0 / 1.605 GB, free: 1.266 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.807, allocations: 389.8 kB / 1.605 GB, free: 0.8789 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.809, allocations: 1.753 MB / 1.607 GB, free: 15.12 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/1.811, allocations: 2.244 MB / 1.609 GB, free: 12.67 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/1.815, allocations: 2.274 MB / 1.611 GB, free: 10.39 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.815, allocations: 8 kB / 1.611 GB, free: 10.39 MB / 1.026 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01445/1.83, allocations: 7.415 MB / 1.619 GB, free: 2.938 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.83, allocations: 8 kB / 1.619 GB, free: 2.93 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.83, allocations: 16 kB / 1.619 GB, free: 2.914 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/1.842, allocations: 4.065 MB / 1.623 GB, free: 14.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.843, allocations: 287.5 kB / 1.623 GB, free: 14.55 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02886/1.872, allocations: 19.7 MB / 1.642 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.875, allocations: 99.77 kB / 1.642 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00061/1.875, allocations: 179.9 kB / 1.642 GB, free: 10.14 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005632/1.876, allocations: 156.4 kB / 1.642 GB, free: 9.984 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01363/1.889, allocations: 7.047 MB / 1.649 GB, free: 2.906 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.891, allocations: 189.8 kB / 1.65 GB, free: 2.719 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.906, allocations: 7.41 MB / 1.657 GB, free: 11.27 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/1.906, allocations: 24 kB / 1.657 GB, free: 11.24 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/1.906, allocations: 12 kB / 1.657 GB, free: 11.23 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/1.906, allocations: 7.969 kB / 1.657 GB, free: 11.22 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.929, allocations: 11.38 MB / 1.668 GB, free: 15.67 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.929, allocations: 4 kB / 1.668 GB, free: 15.66 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/1.93, allocations: 167.7 kB / 1.668 GB, free: 15.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01185/1.942, allocations: 3.982 MB / 1.672 GB, free: 11.5 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003594/1.942, allocations: 51.92 kB / 1.672 GB, free: 11.45 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02916/1.971, allocations: 19.32 MB / 1.691 GB, free: 7.691 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/1.971, allocations: 11.94 kB / 1.691 GB, free: 7.68 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.986, allocations: 7.664 MB / 1.698 GB, free: 15.7 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.988, allocations: 0.6938 MB / 1.699 GB, free: 14.98 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/1.989, allocations: 15.95 kB / 1.699 GB, free: 14.97 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.99, allocations: 103.7 kB / 1.699 GB, free: 14.87 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006945/1.991, allocations: 180.9 kB / 1.699 GB, free: 14.69 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/1.991, allocations: 147.9 kB / 1.699 GB, free: 14.55 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001407/1.993, allocations: 0.7839 MB / 1.7 GB, free: 13.77 MB / 1.12 GB Notification: Performance of sort global known variables: time 3.61e-07/1.993, allocations: 0 / 1.7 GB, free: 13.77 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003689/1.996, allocations: 0.8359 MB / 1.701 GB, free: 12.93 MB / 1.12 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 () * 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: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01941/2.016, allocations: 10.91 MB / 1.712 GB, free: 1.777 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01176/2.028, allocations: 5.674 MB / 1.717 GB, free: 12.07 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/2.028, allocations: 4 kB / 1.717 GB, free: 12.07 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.008669/2.036, allocations: 3.543 MB / 1.721 GB, free: 8.496 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/2.04, allocations: 412.6 kB / 1.721 GB, free: 8.09 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/2.058, allocations: 6.521 MB / 1.727 GB, free: 1.426 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004727/2.063, allocations: 2.734 MB / 1.73 GB, free: 14.66 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00152/2.064, allocations: 371.2 kB / 1.731 GB, free: 14.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/2.066, allocations: 1.218 MB / 1.732 GB, free: 13.07 MB / 1.151 GB Notification: Performance of SimCode: time 1.643e-06/2.066, allocations: 0 / 1.732 GB, free: 13.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7486/2.815, allocations: 71.7 MB / 1.802 GB, free: 318.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/2.815, allocations: 177.4 kB / 1.802 GB, free: 318.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/6.349, allocations: 0 / 1.802 GB, free: 318.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat does not exist to compare? outputFormat=mat