Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ACSimpleGrid_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.44/2.44, 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.001138/0.001138, allocations: 188.8 kB / 487.4 MB, free: 5.027 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.669/1.669, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0008492/0.0008492, allocations: 93.41 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.958e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8651/1.105, allocations: 203.6 MB / 1.405 GB, free: 4.246 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.105, allocations: 97.44 kB / 1.405 GB, free: 4.195 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1849/1.29, allocations: 76.64 MB / 1.48 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.346e-06/1.29, allocations: 4 kB / 1.48 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.065e-05/1.29, allocations: 36 kB / 1.48 GB, free: 3.527 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003197/1.293, allocations: 1.682 MB / 1.482 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.294, allocations: 8.562 kB / 1.482 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/1.297, allocations: 0.6604 MB / 1.482 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/1.299, allocations: 1.252 MB / 1.483 GB, free: 228 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/1.299, allocations: 52 kB / 1.483 GB, free: 176 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.299, allocations: 92 kB / 1.484 GB, free: 84 kB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003021/1.302, allocations: 1.936 MB / 1.485 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/1.306, allocations: 2.371 MB / 1.488 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/1.306, allocations: 7.938 kB / 1.488 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/1.306, allocations: 0 / 1.488 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.306, allocations: 93.77 kB / 1.488 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/1.318, allocations: 10.53 MB / 1.498 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/1.319, allocations: 0.7196 MB / 1.499 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/1.319, allocations: 0.5058 MB / 1.499 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.319, allocations: 97.41 kB / 1.499 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.32, allocations: 38.94 kB / 1.499 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=46): time 3.086e-06/1.32, allocations: 0 / 1.499 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72): time 0.01022/1.33, allocations: 4.354 MB / 1.504 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.33, allocations: 85.89 kB / 1.504 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/1.331, allocations: 0.7571 MB / 1.505 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-05/1.331, allocations: 33.58 kB / 1.505 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/1.332, allocations: 0.7774 MB / 1.505 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.332, allocations: 248.4 kB / 1.506 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/1.332, allocations: 0 / 1.506 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.332, allocations: 390.8 kB / 1.506 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/1.333, allocations: 0.7404 MB / 1.507 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.334, allocations: 1.099 MB / 1.508 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.336, allocations: 1.074 MB / 1.509 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.336, allocations: 7.938 kB / 1.509 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006941/1.343, allocations: 3.244 MB / 1.512 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001498/1.344, allocations: 4.266 MB / 1.516 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.344, allocations: 11.98 kB / 1.516 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/1.349, allocations: 1.408 MB / 1.518 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/1.35, allocations: 223.6 kB / 1.518 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009658/1.36, allocations: 7.017 MB / 1.525 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.361, allocations: 175.5 kB / 1.525 GB, free: 6.793 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.361, allocations: 47.98 kB / 1.525 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.361, allocations: 4 kB / 1.525 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002526/1.364, allocations: 1.67 MB / 1.526 GB, free: 5.074 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.364, allocations: 15.95 kB / 1.526 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.364, allocations: 16 kB / 1.526 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.365, allocations: 343.5 kB / 1.527 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.365, allocations: 23.92 kB / 1.527 GB, free: 4.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/1.366, allocations: 119.8 kB / 1.527 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/1.366, allocations: 48 kB / 1.527 GB, free: 4.52 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002544/1.367, allocations: 136.6 kB / 1.527 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006384/1.373, allocations: 2.853 MB / 1.53 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/1.373, allocations: 86.97 kB / 1.53 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006752/1.38, allocations: 3.007 MB / 1.533 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.38, allocations: 8 kB / 1.533 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.38, allocations: 4 kB / 1.533 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.38, allocations: 3.984 kB / 1.533 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.39, allocations: 5.297 MB / 1.538 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.39, allocations: 4.25 kB / 1.538 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/1.391, allocations: 107.8 kB / 1.538 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/1.396, allocations: 1.611 MB / 1.54 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/1.397, allocations: 4 kB / 1.54 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.41, allocations: 9.165 MB / 1.549 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.41, allocations: 4 kB / 1.549 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/1.417, allocations: 2.982 MB / 1.552 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/1.418, allocations: 328 kB / 1.552 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.418, allocations: 11.89 kB / 1.552 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.419, allocations: 167.7 kB / 1.552 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.419, allocations: 68.47 kB / 1.552 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/1.419, allocations: 20 kB / 1.552 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007956/1.42, allocations: 0.5849 MB / 1.553 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.3e-07/1.42, allocations: 0 / 1.553 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002197/1.422, allocations: 0.6289 MB / 1.553 GB, free: 8.953 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007155/1.429, allocations: 4.178 MB / 1.557 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004885/1.434, allocations: 2.9 MB / 1.56 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.434, allocations: 0 / 1.56 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.437, allocations: 1.33 MB / 1.562 GB, free: 440 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.438, allocations: 223.4 kB / 1.562 GB, free: 220 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/1.444, allocations: 3.305 MB / 1.565 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.445, allocations: 1.759 MB / 1.567 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001606/1.447, allocations: 0.6313 MB / 1.567 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.448, allocations: 0.4993 MB / 1.568 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of SimCode: time 7.21e-07/1.448, allocations: 0 / 1.568 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06243/1.51, allocations: 36.25 MB / 1.603 GB, free: 5.812 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.51, allocations: 165.4 kB / 1.603 GB, free: 5.621 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/4.216, allocations: 0 / 1.603 GB, free: 5.621 MB / 1.01 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat does not exist to compare? outputFormat=mat