Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.196/2.196, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001198/0.001198, allocations: 183.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001099/0.001099, allocations: 91.91 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.969e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3433, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.493, allocations: 197.5 MB / 1.412 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.494, allocations: 92.56 kB / 1.412 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/3.234, allocations: 324.7 MB / 1.729 GB, free: 253.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.565e-06/3.234, allocations: 0 / 1.729 GB, free: 253.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008596/3.235, allocations: 148.3 kB / 1.729 GB, free: 253.2 MB / 1.151 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.03093/3.266, allocations: 4.669 MB / 1.734 GB, free: 251.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.096e-05/3.266, allocations: 9.469 kB / 1.734 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006003/3.272, allocations: 0.738 MB / 1.734 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01846/3.291, allocations: 1.48 MB / 1.736 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/3.31, allocations: 4.228 MB / 1.74 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/3.311, allocations: 381.7 kB / 1.74 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/3.314, allocations: 0.4961 MB / 1.741 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/3.344, allocations: 8.288 MB / 1.749 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/3.345, allocations: 26.62 kB / 1.749 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/3.347, allocations: 234.4 kB / 1.749 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004872/3.347, allocations: 323.6 kB / 1.749 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/3.368, allocations: 6.339 MB / 1.756 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/3.43, allocations: 40 MB / 1.795 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/3.434, allocations: 2.788 MB / 1.797 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/3.438, allocations: 2.549 MB / 1.8 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/3.438, allocations: 24.66 kB / 1.8 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/3.438, allocations: 72.72 kB / 1.8 GB, free: 224.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 5.26e-06/3.438, allocations: 3.391 kB / 1.8 GB, free: 224.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=424): time 0.2425/3.681, allocations: 60.06 MB / 1.859 GB, free: 218.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/3.681, allocations: 95.95 kB / 1.859 GB, free: 218.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/3.685, allocations: 1.903 MB / 1.861 GB, free: 218 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/3.686, allocations: 91.58 kB / 1.861 GB, free: 217.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/3.688, allocations: 2.338 MB / 1.863 GB, free: 216.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/3.69, allocations: 1.441 MB / 1.864 GB, free: 215 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/3.691, allocations: 89.22 kB / 1.864 GB, free: 214.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003167/3.691, allocations: 491.4 kB / 1.865 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/3.695, allocations: 2.731 MB / 1.868 GB, free: 213.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/3.699, allocations: 3.693 MB / 1.871 GB, free: 211.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/3.703, allocations: 3.332 MB / 1.874 GB, free: 209.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/3.703, allocations: 6.344 kB / 1.874 GB, free: 209.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.0233/3.726, allocations: 11.69 MB / 1.886 GB, free: 205.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/3.726, allocations: 20.31 kB / 1.886 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/3.727, allocations: 28.22 kB / 1.886 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/3.743, allocations: 4.99 MB / 1.891 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/3.745, allocations: 0.5062 MB / 1.891 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06616/3.811, allocations: 64.69 MB / 1.954 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004971/3.816, allocations: 188.6 kB / 1.955 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005044/3.817, allocations: 160 kB / 1.955 GB, free: 150 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.0008703/3.818, allocations: 345.2 kB / 1.955 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/3.818, allocations: 383.4 kB / 1.955 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/3.841, allocations: 11.48 MB / 1.967 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/3.841, allocations: 40 kB / 1.967 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/3.841, allocations: 48 kB / 1.967 GB, free: 140 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.408e-05/3.841, allocations: 20.58 kB / 1.967 GB, free: 140 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03358/3.875, allocations: 17.82 MB / 1.984 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/3.875, allocations: 8 kB / 1.984 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/3.877, allocations: 290.8 kB / 1.984 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/3.891, allocations: 4.49 MB / 1.989 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008482/3.892, allocations: 80 kB / 1.989 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05992/3.952, allocations: 62.23 MB / 2.05 GB, free: 61.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/3.952, allocations: 11.94 kB / 2.05 GB, free: 61.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02574/3.978, allocations: 15.17 MB / 2.065 GB, free: 48.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003113/3.981, allocations: 0.9771 MB / 2.065 GB, free: 47.36 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009831/3.982, allocations: 80 kB / 2.066 GB, free: 47.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/3.984, allocations: 175.5 kB / 2.066 GB, free: 47.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/3.986, allocations: 405.7 kB / 2.066 GB, free: 46.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/3.986, allocations: 104 kB / 2.066 GB, free: 46.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001989/3.988, allocations: 1.435 MB / 2.068 GB, free: 45.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.61e-07/3.988, allocations: 2.625 kB / 2.068 GB, free: 45.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007421/3.996, allocations: 1.773 MB / 2.069 GB, free: 43.72 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.02549/4.021, allocations: 17.61 MB / 2.087 GB, free: 27.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01894/4.04, allocations: 11.45 MB / 2.098 GB, free: 17.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/4.04, allocations: 8.25 kB / 2.098 GB, free: 17.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01427/4.054, allocations: 7.948 MB / 2.105 GB, free: 9.625 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/4.06, allocations: 0.979 MB / 2.106 GB, free: 8.875 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/4.085, allocations: 11.61 MB / 2.118 GB, free: 14.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005771/4.091, allocations: 4.182 MB / 2.122 GB, free: 11.73 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003167/4.094, allocations: 0.6706 MB / 2.123 GB, free: 11.27 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003149/4.097, allocations: 2.14 MB / 2.125 GB, free: 9.133 MB / 1.167 GB Notification: Performance of SimCode: time 2.104e-06/4.097, allocations: 4 kB / 2.125 GB, free: 9.129 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.192/5.29, allocations: 136.9 MB / 2.258 GB, free: 241.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/5.29, allocations: 208.3 kB / 2.258 GB, free: 241 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.894/11.18, allocations: 0 / 2.258 GB, free: 241 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat