Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.14/2.14, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001054/0.001054, allocations: 180.9 kB / 492.3 MB, free: 0.6016 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.531/1.531, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008399/0.0008398, allocations: 91.94 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.857e-05, allocations: 6.109 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9063/1.133, allocations: 196.6 MB / 1.405 GB, free: 3.293 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.133, allocations: 97.17 kB / 1.405 GB, free: 3.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7988/1.932, allocations: 324.7 MB / 1.722 GB, free: 10.36 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.813e-06/1.932, allocations: 0 / 1.722 GB, free: 10.36 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0006612/1.933, allocations: 147.9 kB / 1.722 GB, free: 10.22 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01757/1.95, allocations: 4.65 MB / 1.726 GB, free: 5.504 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.95, allocations: 12.03 kB / 1.726 GB, free: 5.492 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003723/1.954, allocations: 0.7478 MB / 1.727 GB, free: 4.734 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/1.966, allocations: 1.487 MB / 1.729 GB, free: 3.238 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.981, allocations: 4.223 MB / 1.733 GB, free: 14.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004685/1.982, allocations: 386 kB / 1.733 GB, free: 14.56 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/1.985, allocations: 0.4959 MB / 1.734 GB, free: 14.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/2.011, allocations: 8.292 MB / 1.742 GB, free: 5.305 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004006/2.011, allocations: 23.78 kB / 1.742 GB, free: 5.281 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002829/2.014, allocations: 235.9 kB / 1.742 GB, free: 5.051 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005439/2.015, allocations: 322 kB / 1.742 GB, free: 4.734 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8287/2.843, allocations: 6.33 MB / 1.748 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0637/2.907, allocations: 40 MB / 1.787 GB, free: 218.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/2.913, allocations: 2.78 MB / 1.79 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006102/2.919, allocations: 2.549 MB / 1.793 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/2.92, allocations: 27.12 kB / 1.793 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/2.92, allocations: 60.77 kB / 1.793 GB, free: 218.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 8.345e-06/2.92, allocations: 3.5 kB / 1.793 GB, free: 218.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=424): time 0.2919/3.212, allocations: 60.07 MB / 1.851 GB, free: 214.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/3.212, allocations: 95.2 kB / 1.852 GB, free: 214.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/3.216, allocations: 1.907 MB / 1.853 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/3.217, allocations: 94.02 kB / 1.853 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/3.219, allocations: 2.335 MB / 1.856 GB, free: 213.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001997/3.221, allocations: 1.438 MB / 1.857 GB, free: 213 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/3.221, allocations: 90.47 kB / 1.857 GB, free: 213 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002434/3.222, allocations: 487.5 kB / 1.858 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/3.225, allocations: 2.726 MB / 1.86 GB, free: 212.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/3.23, allocations: 3.69 MB / 1.864 GB, free: 211.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/3.234, allocations: 3.334 MB / 1.867 GB, free: 211.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/3.234, allocations: 11.34 kB / 1.867 GB, free: 211.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02551/3.26, allocations: 11.68 MB / 1.879 GB, free: 210.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/3.26, allocations: 18.89 kB / 1.879 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/3.26, allocations: 26.28 kB / 1.879 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01752/3.278, allocations: 4.99 MB / 1.884 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/3.28, allocations: 0.5064 MB / 1.884 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0697/3.35, allocations: 64.69 MB / 1.947 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/3.355, allocations: 183 kB / 1.947 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/3.356, allocations: 166 kB / 1.948 GB, free: 166.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001875/3.358, allocations: 346.1 kB / 1.948 GB, free: 166.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/3.359, allocations: 390 kB / 1.948 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02558/3.385, allocations: 11.47 MB / 1.959 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/3.385, allocations: 43.69 kB / 1.96 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002099/3.385, allocations: 55.5 kB / 1.96 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001319/3.386, allocations: 17.3 kB / 1.96 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04008/3.426, allocations: 17.82 MB / 1.977 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/3.426, allocations: 4.75 kB / 1.977 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/3.427, allocations: 298.4 kB / 1.977 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/3.443, allocations: 4.495 MB / 1.982 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009419/3.444, allocations: 83.19 kB / 1.982 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06296/3.507, allocations: 62.24 MB / 2.043 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/3.507, allocations: 11.19 kB / 2.043 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0297/3.537, allocations: 15.16 MB / 2.057 GB, free: 82.64 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/3.54, allocations: 0.9678 MB / 2.058 GB, free: 81.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/3.542, allocations: 83.75 kB / 2.058 GB, free: 81.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003805/3.546, allocations: 171.7 kB / 2.059 GB, free: 81.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/3.548, allocations: 415.5 kB / 2.059 GB, free: 81.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006483/3.549, allocations: 104 kB / 2.059 GB, free: 81.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003378/3.552, allocations: 1.439 MB / 2.06 GB, free: 79.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.31e-07/3.552, allocations: 0 / 2.06 GB, free: 79.89 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009436/3.562, allocations: 1.777 MB / 2.062 GB, free: 78.12 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02913/3.591, allocations: 17.6 MB / 2.079 GB, free: 62.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02175/3.613, allocations: 11.45 MB / 2.091 GB, free: 51.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/3.613, allocations: 8.062 kB / 2.091 GB, free: 51.63 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01439/3.627, allocations: 7.945 MB / 2.098 GB, free: 44.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006506/3.634, allocations: 0.9825 MB / 2.099 GB, free: 43.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/3.663, allocations: 11.53 MB / 2.111 GB, free: 33.27 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007171/3.67, allocations: 4.195 MB / 2.115 GB, free: 30.09 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003253/3.674, allocations: 0.6651 MB / 2.115 GB, free: 29.63 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/3.677, allocations: 2.136 MB / 2.117 GB, free: 27.65 MB / 1.151 GB Notification: Performance of SimCode: time 9.12e-07/3.677, allocations: 4 kB / 2.117 GB, free: 27.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9757/4.652, allocations: 136.9 MB / 2.251 GB, free: 236.6 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/4.652, allocations: 201 kB / 2.251 GB, free: 236.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.613/10.27, allocations: 3.094 kB / 2.251 GB, free: 236.4 MB / 1.182 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat