Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.91 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.001102/0.001102, allocations: 180.8 kB / 491.2 MB, free: 1.559 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.631/1.631, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001038/0.001038, allocations: 95.33 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.348e-05, allocations: 5.641 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.331, allocations: 178.6 MB / 1.387 GB, free: 16.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.331, allocations: 93.75 kB / 1.387 GB, free: 16.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1844/1.515, allocations: 73.38 MB / 1.459 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.515, allocations: 0 / 1.459 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001734/1.516, allocations: 42.98 kB / 1.459 GB, free: 6.672 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005693/1.521, allocations: 1.505 MB / 1.46 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.521, allocations: 12.02 kB / 1.46 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/1.525, allocations: 473.3 kB / 1.461 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/1.528, allocations: 1.156 MB / 1.462 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/1.528, allocations: 44 kB / 1.462 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007712/1.529, allocations: 84 kB / 1.462 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004574/1.534, allocations: 1.965 MB / 1.464 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/1.54, allocations: 2.539 MB / 1.466 GB, free: 452 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/1.54, allocations: 3.938 kB / 1.466 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/1.541, allocations: 4 kB / 1.466 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000598/1.541, allocations: 156.6 kB / 1.466 GB, free: 300 kB / 0.8698 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.02149/1.563, allocations: 13.76 MB / 1.48 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.565, allocations: 1.296 MB / 1.481 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/1.567, allocations: 1.077 MB / 1.482 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.585e-05/1.567, allocations: 12.77 kB / 1.482 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/1.567, allocations: 43.28 kB / 1.482 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 7.294e-06/1.567, allocations: 8 kB / 1.482 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02795/1.595, allocations: 8.989 MB / 1.491 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.595, allocations: 72.7 kB / 1.491 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.597, allocations: 0.8784 MB / 1.492 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003005/1.597, allocations: 25.7 kB / 1.492 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006248/1.598, allocations: 0.7205 MB / 1.493 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007306/1.599, allocations: 469 kB / 1.493 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/1.599, allocations: 0 / 1.493 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000309/1.599, allocations: 422.7 kB / 1.493 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.601, allocations: 1.425 MB / 1.495 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/1.604, allocations: 1.714 MB / 1.497 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/1.608, allocations: 1.99 MB / 1.498 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.608, allocations: 0 / 1.498 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01224/1.62, allocations: 5.566 MB / 1.504 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.62, allocations: 12 kB / 1.504 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.621, allocations: 8 kB / 1.504 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008023/1.629, allocations: 2.697 MB / 1.507 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.63, allocations: 223.6 kB / 1.507 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/1.654, allocations: 15.2 MB / 1.522 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.656, allocations: 75.8 kB / 1.522 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006319/1.656, allocations: 164 kB / 1.522 GB, free: 8.805 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007578/1.657, allocations: 125.4 kB / 1.522 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0103/1.667, allocations: 4.799 MB / 1.527 GB, free: 3.852 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/1.668, allocations: 106.7 kB / 1.527 GB, free: 3.746 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.679, allocations: 5.046 MB / 1.532 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.679, allocations: 12 kB / 1.532 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/1.679, allocations: 12 kB / 1.532 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.679, allocations: 7.969 kB / 1.532 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/1.696, allocations: 8.163 MB / 1.54 GB, free: 6.367 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.696, allocations: 8.031 kB / 1.54 GB, free: 6.359 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/1.696, allocations: 119.8 kB / 1.54 GB, free: 6.242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007441/1.704, allocations: 2.528 MB / 1.542 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/1.704, allocations: 36.31 kB / 1.542 GB, free: 3.672 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/1.724, allocations: 12.8 MB / 1.555 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.724, allocations: 11.94 kB / 1.555 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.735, allocations: 4.947 MB / 1.56 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.736, allocations: 0.601 MB / 1.56 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/1.737, allocations: 8 kB / 1.56 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.738, allocations: 63.84 kB / 1.56 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004776/1.739, allocations: 121.1 kB / 1.56 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.739, allocations: 119.9 kB / 1.561 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001347/1.74, allocations: 0.6631 MB / 1.561 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.5e-07/1.74, allocations: 4 kB / 1.561 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002928/1.743, allocations: 0.5312 MB / 1.562 GB, free: 15.33 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.01119/1.755, allocations: 6.667 MB / 1.568 GB, free: 8.512 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007092/1.762, allocations: 3.904 MB / 1.572 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.762, allocations: 0 / 1.572 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005174/1.767, allocations: 2.282 MB / 1.574 GB, free: 2.285 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.769, allocations: 151.3 kB / 1.574 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008647/1.777, allocations: 3.689 MB / 1.578 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/1.779, allocations: 1.697 MB / 1.58 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001218/1.78, allocations: 397 kB / 1.58 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008729/1.781, allocations: 0.5539 MB / 1.581 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of SimCode: time 7.72e-07/1.781, allocations: 7.875 kB / 1.581 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09526/1.877, allocations: 50.57 MB / 1.63 GB, free: 9.18 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.877, allocations: 177.5 kB / 1.63 GB, free: 8.984 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.807, allocations: 6.062 kB / 1.63 GB, free: 8.98 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat does not exist to compare? outputFormat=mat