Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.42/2.42, allocations: 393.5 MB / 408.4 MB, free: 11 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.001022/0.001022, allocations: 176 kB / 0.4901 GB, free: 2.242 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.608/1.608, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009482/0.0009479, allocations: 109 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 15.06 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3355, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2476/0.5832, allocations: 198.5 MB / 1.423 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.5836, allocations: 95.94 kB / 1.423 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.576/2.16, allocations: 386.5 MB / 1.801 GB, free: 11.5 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.166e-06/2.16, allocations: 0 / 1.801 GB, free: 11.5 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0008795/2.161, allocations: 179.8 kB / 1.801 GB, free: 11.33 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02648/2.188, allocations: 6.173 MB / 1.807 GB, free: 5.074 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/2.188, allocations: 8.031 kB / 1.807 GB, free: 5.066 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006109/2.194, allocations: 0.8954 MB / 1.808 GB, free: 4.16 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/2.211, allocations: 1.775 MB / 1.81 GB, free: 2.375 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/2.231, allocations: 5.066 MB / 1.814 GB, free: 13.23 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/2.231, allocations: 456.1 kB / 1.815 GB, free: 12.78 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/2.235, allocations: 0.6011 MB / 1.816 GB, free: 12.18 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/2.268, allocations: 9.981 MB / 1.825 GB, free: 1.711 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/2.269, allocations: 27.72 kB / 1.825 GB, free: 1.684 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/2.271, allocations: 271.9 kB / 1.826 GB, free: 1.418 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004624/2.271, allocations: 380.1 kB / 1.826 GB, free: 1.043 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/2.291, allocations: 7.835 MB / 1.834 GB, free: 9.188 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8581/3.149, allocations: 46.36 MB / 1.879 GB, free: 188.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008209/3.157, allocations: 4.186 MB / 1.883 GB, free: 188.2 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/3.158, allocations: 36.55 kB / 1.883 GB, free: 188.2 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/3.158, allocations: 71.86 kB / 1.883 GB, free: 188.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=353): time 5.701e-06/3.158, allocations: 3 kB / 1.883 GB, free: 188.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=578): time 0.4457/3.604, allocations: 106.4 MB / 1.987 GB, free: 180.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/3.604, allocations: 112.3 kB / 1.987 GB, free: 180.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/3.608, allocations: 2.144 MB / 1.989 GB, free: 180.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/3.609, allocations: 119.7 kB / 1.989 GB, free: 180.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/3.611, allocations: 2.707 MB / 1.992 GB, free: 179.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/3.613, allocations: 1.946 MB / 1.994 GB, free: 178.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/3.614, allocations: 113.7 kB / 1.994 GB, free: 178.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0003873/3.615, allocations: 0.5335 MB / 1.994 GB, free: 177.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005503/3.62, allocations: 3.785 MB / 1.998 GB, free: 177.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/3.626, allocations: 4.903 MB / 2.003 GB, free: 176.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/3.632, allocations: 4.584 MB / 2.007 GB, free: 176.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-05/3.632, allocations: 7.188 kB / 2.007 GB, free: 176.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03608/3.669, allocations: 16 MB / 2.023 GB, free: 175.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/3.669, allocations: 18.91 kB / 2.023 GB, free: 175.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/3.669, allocations: 30.03 kB / 2.023 GB, free: 175.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02568/3.694, allocations: 7.745 MB / 2.031 GB, free: 175.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/3.697, allocations: 0.5548 MB / 2.031 GB, free: 175.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1021/3.799, allocations: 70.51 MB / 2.1 GB, free: 122.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006632/3.806, allocations: 244.1 kB / 2.1 GB, free: 122.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/3.808, allocations: 212.7 kB / 2.1 GB, free: 121.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007962/3.816, allocations: 2.438 MB / 2.103 GB, free: 119.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002393/3.818, allocations: 470.4 kB / 2.103 GB, free: 119.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03855/3.857, allocations: 15.9 MB / 2.119 GB, free: 106.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/3.857, allocations: 56 kB / 2.119 GB, free: 106.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002923/3.857, allocations: 74.62 kB / 2.119 GB, free: 106.6 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001661/3.858, allocations: 31.75 kB / 2.119 GB, free: 106.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06829/3.926, allocations: 23.97 MB / 2.142 GB, free: 87.58 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.875e-05/3.926, allocations: 4 kB / 2.142 GB, free: 87.58 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/3.928, allocations: 330.4 kB / 2.143 GB, free: 87.34 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02279/3.951, allocations: 6.871 MB / 2.149 GB, free: 82.02 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/3.952, allocations: 112.6 kB / 2.149 GB, free: 81.91 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08511/4.038, allocations: 67.38 MB / 2.215 GB, free: 21.27 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/4.038, allocations: 14.58 kB / 2.215 GB, free: 21.26 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04308/4.081, allocations: 20.95 MB / 2.236 GB, free: 3.301 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00534/4.086, allocations: 1.26 MB / 2.237 GB, free: 2.145 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/4.088, allocations: 103.7 kB / 2.237 GB, free: 2.047 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004971/4.093, allocations: 237.6 kB / 2.237 GB, free: 1.879 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003937/4.097, allocations: 0.5226 MB / 2.238 GB, free: 1.555 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001281/4.099, allocations: 136 kB / 2.238 GB, free: 1.422 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.004065/4.103, allocations: 1.626 MB / 2.24 GB, free: 88 kB / 1.135 GB Notification: Performance of sort global known variables: time 1.723e-06/4.103, allocations: 0 / 2.24 GB, free: 88 kB / 1.135 GB Notification: Performance of remove unused functions: time 0.02482/4.128, allocations: 3.392 MB / 2.243 GB, free: 0 / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04823/4.176, allocations: 23.36 MB / 2.266 GB, free: 8.488 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03065/4.207, allocations: 13.81 MB / 2.279 GB, free: 10.59 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/4.207, allocations: 8.125 kB / 2.279 GB, free: 10.58 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02217/4.229, allocations: 9.066 MB / 2.288 GB, free: 1.41 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008405/4.237, allocations: 1.103 MB / 2.289 GB, free: 376 kB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7395/4.977, allocations: 74.33 MB / 2.362 GB, free: 212.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006053/4.983, allocations: 5.015 MB / 2.367 GB, free: 211.7 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.002761/4.986, allocations: 0.7383 MB / 2.367 GB, free: 211.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/4.988, allocations: 2.593 MB / 2.37 GB, free: 211.7 MB / 1.198 GB Notification: Performance of SimCode: time 7.284e-06/4.988, allocations: 0 / 2.37 GB, free: 211.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/5.265, allocations: 175.8 MB / 2.541 GB, free: 183.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/5.265, allocations: 234.1 kB / 2.542 GB, free: 182.9 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/12.5, allocations: 0 / 2.542 GB, free: 182.9 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat