Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.391/2.391, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001676/0.001677, allocations: 188.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.631/1.631, 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.00103/0.00103, allocations: 107.2 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.275e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3493, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.639, allocations: 220.5 MB / 1.421 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.639, allocations: 98.23 kB / 1.421 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3039/1.943, allocations: 124.1 MB / 1.543 GB, free: 5.961 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/1.943, allocations: 0 / 1.543 GB, free: 5.961 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001176/1.943, allocations: 43.98 kB / 1.543 GB, free: 5.918 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003941/1.947, allocations: 1.645 MB / 1.544 GB, free: 4.223 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/1.947, allocations: 12.56 kB / 1.544 GB, free: 4.211 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.959, allocations: 1.956 MB / 1.546 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/1.966, allocations: 2.076 MB / 1.548 GB, free: 120 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/1.966, allocations: 36 kB / 1.548 GB, free: 84 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/1.967, allocations: 64 kB / 1.548 GB, free: 20 kB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002958/1.97, allocations: 1.649 MB / 1.55 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/1.973, allocations: 2.053 MB / 1.552 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/1.973, allocations: 11.88 kB / 1.552 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/1.973, allocations: 11.95 kB / 1.552 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/1.973, allocations: 90.28 kB / 1.552 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/1.991, allocations: 10.44 MB / 1.562 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/1.993, allocations: 1.482 MB / 1.564 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/1.994, allocations: 0.8634 MB / 1.565 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/1.995, allocations: 16.7 kB / 1.565 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/1.995, allocations: 51.3 kB / 1.565 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 2.935e-06/1.995, allocations: 0 / 1.565 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01834/2.013, allocations: 6.884 MB / 1.571 GB, free: 7.625 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/2.013, allocations: 222.9 kB / 1.572 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/2.015, allocations: 0.8013 MB / 1.572 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/2.015, allocations: 25.7 kB / 1.572 GB, free: 6.516 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/2.016, allocations: 0.7503 MB / 1.573 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/2.017, allocations: 0.4964 MB / 1.574 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/2.017, allocations: 8 kB / 1.574 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002327/2.017, allocations: 365.9 kB / 1.574 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/2.019, allocations: 1.101 MB / 1.575 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/2.021, allocations: 1.357 MB / 1.576 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/2.024, allocations: 1.267 MB / 1.578 GB, free: 1.047 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/2.024, allocations: 4 kB / 1.578 GB, free: 1.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01138/2.035, allocations: 4.442 MB / 1.582 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/2.035, allocations: 9.562 kB / 1.582 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/2.035, allocations: 4.062 kB / 1.582 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008797/2.044, allocations: 2.087 MB / 1.584 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/2.046, allocations: 415.3 kB / 1.584 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/2.077, allocations: 21.75 MB / 1.606 GB, free: 3.371 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/2.08, allocations: 299.5 kB / 1.606 GB, free: 3.078 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/2.081, allocations: 67.95 kB / 1.606 GB, free: 3.012 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006947/2.081, allocations: 120.8 kB / 1.606 GB, free: 2.887 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01174/2.093, allocations: 4.228 MB / 1.61 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008531/2.094, allocations: 166.1 kB / 1.61 GB, free: 14.46 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/2.106, allocations: 4.511 MB / 1.615 GB, free: 9.91 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/2.106, allocations: 20 kB / 1.615 GB, free: 9.891 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/2.106, allocations: 16 kB / 1.615 GB, free: 9.875 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/2.106, allocations: 11.97 kB / 1.615 GB, free: 9.863 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/2.122, allocations: 6.575 MB / 1.621 GB, free: 3.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/2.122, allocations: 8.344 kB / 1.621 GB, free: 3.172 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/2.123, allocations: 363.3 kB / 1.622 GB, free: 2.816 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007932/2.131, allocations: 1.941 MB / 1.623 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/2.132, allocations: 19.97 kB / 1.623 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02828/2.16, allocations: 20.9 MB / 1.644 GB, free: 11.01 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/2.16, allocations: 4 kB / 1.644 GB, free: 11.01 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/2.17, allocations: 4.302 MB / 1.648 GB, free: 6.582 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/2.172, allocations: 0.495 MB / 1.649 GB, free: 6.066 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/2.172, allocations: 7.984 kB / 1.649 GB, free: 6.059 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/2.175, allocations: 303.5 kB / 1.649 GB, free: 5.762 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/2.176, allocations: 145 kB / 1.649 GB, free: 5.617 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/2.176, allocations: 51.97 kB / 1.649 GB, free: 5.566 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001295/2.177, allocations: 0.6135 MB / 1.65 GB, free: 4.949 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.61e-07/2.177, allocations: 0 / 1.65 GB, free: 4.949 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003191/2.18, allocations: 0.6366 MB / 1.65 GB, free: 4.312 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01126/2.192, allocations: 5.677 MB / 1.656 GB, free: 14.5 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.007953/2.2, allocations: 4.163 MB / 1.66 GB, free: 10.26 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/2.2, allocations: 0 / 1.66 GB, free: 10.26 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005443/2.205, allocations: 2.817 MB / 1.663 GB, free: 7.363 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/2.208, allocations: 450.9 kB / 1.663 GB, free: 6.93 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/2.218, allocations: 3.434 MB / 1.666 GB, free: 3.414 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/2.22, allocations: 1.607 MB / 1.668 GB, free: 1.77 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.002122/2.222, allocations: 381.4 kB / 1.668 GB, free: 1.391 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/2.223, allocations: 0.6632 MB / 1.669 GB, free: 0.7266 MB / 1.073 GB Notification: Performance of SimCode: time 2.064e-06/2.223, allocations: 0 / 1.669 GB, free: 0.7266 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/2.34, allocations: 54.34 MB / 1.722 GB, free: 10.81 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/2.34, allocations: 165.4 kB / 1.722 GB, free: 10.61 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/5.912, allocations: 0 / 1.722 GB, free: 10.61 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat