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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001222/0.001222, allocations: 176.5 kB / 487.4 MB, free: 5.051 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.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 103.8 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.945e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2571, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9456/1.203, allocations: 176.5 MB / 1.378 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.203, allocations: 93.64 kB / 1.379 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3815/1.585, allocations: 160.7 MB / 1.535 GB, free: 12.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/1.585, allocations: 0 / 1.535 GB, free: 12.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003047/1.585, allocations: 91.92 kB / 1.535 GB, free: 12.84 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.008239/1.593, allocations: 2.901 MB / 1.538 GB, free: 9.883 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.593, allocations: 8.562 kB / 1.538 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/1.6, allocations: 0.9749 MB / 1.539 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/1.605, allocations: 2.268 MB / 1.541 GB, free: 6.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.605, allocations: 108 kB / 1.542 GB, free: 6.465 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/1.606, allocations: 180 kB / 1.542 GB, free: 6.289 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008222/1.615, allocations: 3.637 MB / 1.545 GB, free: 2.648 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/1.627, allocations: 5.169 MB / 1.55 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/1.627, allocations: 11.88 kB / 1.55 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007943/1.628, allocations: 12 kB / 1.55 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006232/1.628, allocations: 322.3 kB / 1.551 GB, free: 12.8 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.03079/1.659, allocations: 28.37 MB / 1.578 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/1.661, allocations: 1.403 MB / 1.58 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/1.663, allocations: 1.462 MB / 1.581 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/1.663, allocations: 17.3 kB / 1.581 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.663, allocations: 51.81 kB / 1.581 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/1.663, allocations: 8 kB / 1.581 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.03546/1.698, allocations: 13.54 MB / 1.594 GB, free: 13.21 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.699, allocations: 69.41 kB / 1.595 GB, free: 13.13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/1.701, allocations: 1.05 MB / 1.596 GB, free: 12.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.701, allocations: 29.7 kB / 1.596 GB, free: 12.04 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.702, allocations: 1.523 MB / 1.597 GB, free: 10.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006598/1.703, allocations: 0.585 MB / 1.598 GB, free: 9.906 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.703, allocations: 0 / 1.598 GB, free: 9.906 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.703, allocations: 385.9 kB / 1.598 GB, free: 9.523 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/1.706, allocations: 1.749 MB / 1.6 GB, free: 7.773 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/1.708, allocations: 2.245 MB / 1.602 GB, free: 5.32 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.712, allocations: 2.273 MB / 1.604 GB, free: 3.047 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/1.712, allocations: 7.953 kB / 1.604 GB, free: 3.039 MB / 1.01 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01435/1.727, allocations: 7.411 MB / 1.611 GB, free: 11.6 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.727, allocations: 16.25 kB / 1.611 GB, free: 11.58 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.727, allocations: 16 kB / 1.611 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/1.739, allocations: 4.063 MB / 1.615 GB, free: 7.488 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.74, allocations: 291.5 kB / 1.616 GB, free: 7.203 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/1.77, allocations: 19.7 MB / 1.635 GB, free: 3.082 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.772, allocations: 99.77 kB / 1.635 GB, free: 2.984 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/1.772, allocations: 171.9 kB / 1.635 GB, free: 2.816 MB / 1.042 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.0005259/1.773, allocations: 160.5 kB / 1.635 GB, free: 2.652 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01364/1.786, allocations: 7.047 MB / 1.642 GB, free: 11.57 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/1.787, allocations: 193.7 kB / 1.642 GB, free: 11.38 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.801, allocations: 7.406 MB / 1.65 GB, free: 3.93 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.802, allocations: 19.94 kB / 1.65 GB, free: 3.91 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/1.802, allocations: 12 kB / 1.65 GB, free: 3.898 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/1.802, allocations: 11.95 kB / 1.65 GB, free: 3.887 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.823, allocations: 11.38 MB / 1.661 GB, free: 8.336 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.823, allocations: 11.94 kB / 1.661 GB, free: 8.324 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/1.824, allocations: 167.7 kB / 1.661 GB, free: 8.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.835, allocations: 3.984 MB / 1.665 GB, free: 4.16 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/1.836, allocations: 59.88 kB / 1.665 GB, free: 4.102 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/1.863, allocations: 19.31 MB / 1.684 GB, free: 360 kB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.863, allocations: 4 kB / 1.684 GB, free: 356 kB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.878, allocations: 7.668 MB / 1.691 GB, free: 8.363 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.88, allocations: 0.6977 MB / 1.692 GB, free: 7.645 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007248/1.881, allocations: 11.98 kB / 1.692 GB, free: 7.633 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.883, allocations: 99.66 kB / 1.692 GB, free: 7.535 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/1.883, allocations: 180.9 kB / 1.692 GB, free: 7.359 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.884, allocations: 151.9 kB / 1.692 GB, free: 7.211 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001349/1.885, allocations: 0.7839 MB / 1.693 GB, free: 6.43 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.81e-07/1.885, allocations: 0 / 1.693 GB, free: 6.43 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003102/1.888, allocations: 0.832 MB / 1.694 GB, free: 5.598 MB / 1.104 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.01715/1.905, allocations: 10.91 MB / 1.705 GB, free: 10.45 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.916, allocations: 5.679 MB / 1.71 GB, free: 4.734 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.916, allocations: 0 / 1.71 GB, free: 4.734 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.007844/1.924, allocations: 3.554 MB / 1.714 GB, free: 1.148 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.926, allocations: 416.9 kB / 1.714 GB, free: 0.7383 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.94, allocations: 6.502 MB / 1.72 GB, free: 10.09 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.944, allocations: 2.742 MB / 1.723 GB, free: 7.316 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001211/1.945, allocations: 375.2 kB / 1.723 GB, free: 6.945 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.947, allocations: 1.218 MB / 1.725 GB, free: 5.727 MB / 1.135 GB Notification: Performance of SimCode: time 1.092e-06/1.947, allocations: 0 / 1.725 GB, free: 5.727 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7219/2.669, allocations: 71.69 MB / 1.795 GB, free: 317.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/2.669, allocations: 166.5 kB / 1.795 GB, free: 317.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/6.116, allocations: 6.125 kB / 1.795 GB, free: 317.6 MB / 1.151 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