Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.214/2.214, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001159/0.001159, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001236/0.001236, allocations: 96.19 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.253e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.317, allocations: 182.4 MB / 1.391 GB, free: 15.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.317, allocations: 93.25 kB / 1.391 GB, free: 15.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4625/1.779, allocations: 191.4 MB / 1.578 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.735e-06/1.779, allocations: 0 / 1.578 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004389/1.78, allocations: 112 kB / 1.578 GB, free: 15.48 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01291/1.793, allocations: 3.826 MB / 1.581 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/1.793, allocations: 8.031 kB / 1.581 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003722/1.797, allocations: 0.6818 MB / 1.582 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008165/1.805, allocations: 0.9425 MB / 1.583 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008972/1.814, allocations: 2.987 MB / 1.586 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/1.814, allocations: 353.3 kB / 1.586 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/1.817, allocations: 459.9 kB / 1.587 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/1.838, allocations: 7.228 MB / 1.594 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.838, allocations: 27.77 kB / 1.594 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/1.84, allocations: 208.2 kB / 1.594 GB, free: 14.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004945/1.84, allocations: 276.9 kB / 1.594 GB, free: 13.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.855, allocations: 5.087 MB / 1.599 GB, free: 8.793 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/1.898, allocations: 35.09 MB / 1.633 GB, free: 2.496 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/1.901, allocations: 2.124 MB / 1.636 GB, free: 260 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.903, allocations: 1.242 MB / 1.637 GB, free: 15.02 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.903, allocations: 21.31 kB / 1.637 GB, free: 15 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.903, allocations: 43.88 kB / 1.637 GB, free: 14.94 MB / 1.057 GB Notification: Performance of pre-optimization done (n=133): time 3.086e-06/1.903, allocations: 0 / 1.637 GB, free: 14.94 MB / 1.057 GB Notification: Performance of matching and sorting (n=136): time 0.009088/1.912, allocations: 4.552 MB / 1.641 GB, free: 10.34 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.912, allocations: 68.72 kB / 1.641 GB, free: 10.26 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/1.915, allocations: 1.253 MB / 1.643 GB, free: 8.957 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/1.915, allocations: 45.7 kB / 1.643 GB, free: 8.906 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.916, allocations: 1.992 MB / 1.645 GB, free: 6.887 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/1.917, allocations: 481.1 kB / 1.645 GB, free: 6.41 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.917, allocations: 40 kB / 1.645 GB, free: 6.371 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.917, allocations: 377.9 kB / 1.645 GB, free: 5.996 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.919, allocations: 0.8786 MB / 1.646 GB, free: 5.117 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/1.921, allocations: 1.539 MB / 1.648 GB, free: 3.277 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/1.922, allocations: 1.164 MB / 1.649 GB, free: 2.117 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/1.922, allocations: 4 kB / 1.649 GB, free: 2.113 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00647/1.929, allocations: 3.452 MB / 1.652 GB, free: 14.61 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/1.929, allocations: 16 kB / 1.652 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.929, allocations: 20 kB / 1.652 GB, free: 14.58 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/1.931, allocations: 0.9004 MB / 1.653 GB, free: 13.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.933, allocations: 351.3 kB / 1.654 GB, free: 13.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.952, allocations: 21.18 MB / 1.674 GB, free: 6.508 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.955, allocations: 95.92 kB / 1.674 GB, free: 6.414 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/1.955, allocations: 87.98 kB / 1.674 GB, free: 6.328 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007405/1.956, allocations: 221.6 kB / 1.675 GB, free: 6.105 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/1.957, allocations: 205.5 kB / 1.675 GB, free: 5.902 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/1.963, allocations: 2.951 MB / 1.678 GB, free: 2.895 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.963, allocations: 16 kB / 1.678 GB, free: 2.879 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.963, allocations: 8 kB / 1.678 GB, free: 2.871 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.963, allocations: 4.109 kB / 1.678 GB, free: 2.867 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.976, allocations: 7.255 MB / 1.685 GB, free: 11.38 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.976, allocations: 4 kB / 1.685 GB, free: 11.38 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/1.977, allocations: 179.7 kB / 1.685 GB, free: 11.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/1.979, allocations: 0.822 MB / 1.686 GB, free: 10.34 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/1.979, allocations: 24 kB / 1.686 GB, free: 10.32 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.997, allocations: 20.25 MB / 1.706 GB, free: 4.469 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.997, allocations: 7.938 kB / 1.706 GB, free: 4.461 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006608/2.004, allocations: 3.268 MB / 1.709 GB, free: 0.918 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/2.006, allocations: 462.5 kB / 1.709 GB, free: 456 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/2.006, allocations: 24 kB / 1.709 GB, free: 432 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/2.007, allocations: 79.84 kB / 1.709 GB, free: 352 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/2.007, allocations: 120.7 kB / 1.709 GB, free: 228 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/2.007, allocations: 36 kB / 1.709 GB, free: 192 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001497/2.009, allocations: 0.9487 MB / 1.71 GB, free: 15.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/2.009, allocations: 0 / 1.71 GB, free: 15.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003301/2.012, allocations: 0.8203 MB / 1.711 GB, free: 14.38 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005603/2.018, allocations: 5.027 MB / 1.716 GB, free: 9.164 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.005564/2.023, allocations: 3.92 MB / 1.72 GB, free: 5.094 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/2.023, allocations: 0 / 1.72 GB, free: 5.094 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/2.027, allocations: 2.697 MB / 1.723 GB, free: 2.238 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/2.03, allocations: 0.6485 MB / 1.723 GB, free: 1.594 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/2.043, allocations: 6.773 MB / 1.73 GB, free: 10.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/2.046, allocations: 3.185 MB / 1.733 GB, free: 7.488 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001646/2.048, allocations: 465.8 kB / 1.733 GB, free: 7.031 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.05, allocations: 1.546 MB / 1.735 GB, free: 5.484 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/2.05, allocations: 0 / 1.735 GB, free: 5.484 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7732/2.823, allocations: 59.95 MB / 1.793 GB, free: 301.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/2.823, allocations: 198.6 kB / 1.794 GB, free: 301.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/6.186, allocations: 0 / 1.794 GB, free: 301.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat