Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001099/0.001099, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.699/1.699, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.001076/0.001076, allocations: 111.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.915/1.167, allocations: 177.8 MB / 1.38 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.168, allocations: 94.69 kB / 1.38 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1744/1.342, allocations: 73.37 MB / 1.451 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.263e-06/1.342, allocations: 0 / 1.451 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001289/1.342, allocations: 36 kB / 1.451 GB, free: 15.05 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.004171/1.346, allocations: 1.512 MB / 1.453 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.346, allocations: 8.562 kB / 1.453 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/1.349, allocations: 484.8 kB / 1.453 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/1.351, allocations: 1.145 MB / 1.455 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/1.351, allocations: 44 kB / 1.455 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/1.352, allocations: 87.94 kB / 1.455 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00313/1.355, allocations: 1.959 MB / 1.457 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/1.358, allocations: 2.55 MB / 1.459 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/1.358, allocations: 3.984 kB / 1.459 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/1.358, allocations: 4 kB / 1.459 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004489/1.359, allocations: 152.6 kB / 1.459 GB, free: 8.688 MB / 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.01627/1.375, allocations: 13.76 MB / 1.473 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.377, allocations: 1.298 MB / 1.474 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/1.378, allocations: 1.085 MB / 1.475 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/1.378, allocations: 12.14 kB / 1.475 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.379, allocations: 35.34 kB / 1.475 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/1.379, allocations: 8 kB / 1.475 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02456/1.403, allocations: 8.992 MB / 1.484 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.403, allocations: 68.72 kB / 1.484 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/1.404, allocations: 0.8745 MB / 1.485 GB, free: 300 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/1.405, allocations: 33.64 kB / 1.485 GB, free: 260 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/1.405, allocations: 0.721 MB / 1.485 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/1.406, allocations: 473 kB / 1.486 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.406, allocations: 0 / 1.486 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.406, allocations: 422.5 kB / 1.486 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.408, allocations: 1.425 MB / 1.488 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.41, allocations: 1.718 MB / 1.489 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003816/1.414, allocations: 1.989 MB / 1.491 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.414, allocations: 4 kB / 1.491 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01089/1.424, allocations: 5.574 MB / 1.497 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.425, allocations: 12 kB / 1.497 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.425, allocations: 15.94 kB / 1.497 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007786/1.432, allocations: 2.687 MB / 1.499 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/1.433, allocations: 219.6 kB / 1.5 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.456, allocations: 15.19 MB / 1.514 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.458, allocations: 75.77 kB / 1.515 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005418/1.459, allocations: 164 kB / 1.515 GB, free: 1.141 MB / 0.9167 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.0006277/1.459, allocations: 124.7 kB / 1.515 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009653/1.469, allocations: 4.796 MB / 1.52 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/1.469, allocations: 106.7 kB / 1.52 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.479, allocations: 5.05 MB / 1.525 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/1.479, allocations: 15.98 kB / 1.525 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/1.479, allocations: 12 kB / 1.525 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.48, allocations: 7.969 kB / 1.525 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.496, allocations: 8.16 MB / 1.533 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.496, allocations: 4 kB / 1.533 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/1.496, allocations: 115.9 kB / 1.533 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007306/1.503, allocations: 2.532 MB / 1.535 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/1.504, allocations: 35.94 kB / 1.535 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/1.524, allocations: 12.81 MB / 1.548 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.524, allocations: 4 kB / 1.548 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009942/1.534, allocations: 4.951 MB / 1.553 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.535, allocations: 0.6049 MB / 1.553 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.535, allocations: 4 kB / 1.553 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.537, allocations: 51.88 kB / 1.553 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005838/1.537, allocations: 133 kB / 1.553 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.538, allocations: 115.9 kB / 1.553 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001427/1.539, allocations: 0.667 MB / 1.554 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.4e-07/1.539, allocations: 0 / 1.554 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003108/1.542, allocations: 0.5234 MB / 1.555 GB, free: 7.715 MB / 0.9636 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.01106/1.553, allocations: 6.668 MB / 1.561 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006832/1.56, allocations: 3.903 MB / 1.565 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.56, allocations: 3.938 kB / 1.565 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.565, allocations: 2.278 MB / 1.567 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.567, allocations: 154.4 kB / 1.567 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/1.576, allocations: 3.697 MB / 1.571 GB, free: 6.738 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.578, allocations: 1.693 MB / 1.573 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001342/1.579, allocations: 405 kB / 1.573 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.581, allocations: 0.55 MB / 1.573 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of SimCode: time 1.382e-06/1.581, allocations: 0 / 1.573 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.683, allocations: 50.57 MB / 1.623 GB, free: 1.578 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/1.683, allocations: 169.8 kB / 1.623 GB, free: 1.387 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/4.656, allocations: 1.875 kB / 1.623 GB, free: 1.387 MB / 1.026 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat does not exist to compare? outputFormat=mat