Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.479/2.479, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001372/0.001372, allocations: 188.8 kB / 496.1 MB, free: 12.86 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.633/1.633, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001091/0.001091, allocations: 91.83 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.408e-05/4.418e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.462, allocations: 183.2 MB / 1.398 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.462, allocations: 93.03 kB / 1.398 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5384/2.001, allocations: 191.3 MB / 1.585 GB, free: 9.797 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.356e-06/2.001, allocations: 3.938 kB / 1.585 GB, free: 9.793 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0006395/2.001, allocations: 116 kB / 1.585 GB, free: 9.676 MB / 1.042 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.01797/2.019, allocations: 3.83 MB / 1.589 GB, free: 5.781 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/2.02, allocations: 12.03 kB / 1.589 GB, free: 5.77 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004248/2.024, allocations: 0.6743 MB / 1.589 GB, free: 5.086 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008459/2.032, allocations: 0.9503 MB / 1.59 GB, free: 4.129 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/2.044, allocations: 2.983 MB / 1.593 GB, free: 1.086 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/2.044, allocations: 349.3 kB / 1.593 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/2.047, allocations: 463.9 kB / 1.594 GB, free: 296 kB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/2.075, allocations: 7.228 MB / 1.601 GB, free: 8.602 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004945/2.075, allocations: 27.77 kB / 1.601 GB, free: 8.574 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002544/2.078, allocations: 208 kB / 1.601 GB, free: 8.371 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/2.078, allocations: 273 kB / 1.601 GB, free: 8.102 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/2.094, allocations: 5.087 MB / 1.606 GB, free: 3 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05625/2.15, allocations: 35.08 MB / 1.641 GB, free: 12.71 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/2.153, allocations: 2.129 MB / 1.643 GB, free: 10.47 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/2.156, allocations: 1.25 MB / 1.644 GB, free: 9.211 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/2.156, allocations: 13.31 kB / 1.644 GB, free: 9.199 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/2.156, allocations: 47.88 kB / 1.644 GB, free: 9.141 MB / 1.104 GB Notification: Performance of pre-optimization done (n=133): time 5.47e-06/2.156, allocations: 4 kB / 1.644 GB, free: 9.137 MB / 1.104 GB Notification: Performance of matching and sorting (n=136): time 0.01182/2.168, allocations: 4.548 MB / 1.648 GB, free: 4.535 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/2.168, allocations: 68.66 kB / 1.648 GB, free: 4.457 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/2.17, allocations: 1.26 MB / 1.65 GB, free: 3.148 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/2.17, allocations: 45.7 kB / 1.65 GB, free: 3.098 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/2.172, allocations: 1.984 MB / 1.652 GB, free: 1.086 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/2.173, allocations: 485.1 kB / 1.652 GB, free: 0.6055 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/2.173, allocations: 40 kB / 1.652 GB, free: 0.5664 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002524/2.173, allocations: 381.9 kB / 1.653 GB, free: 192 kB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/2.175, allocations: 0.8786 MB / 1.653 GB, free: 15.3 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/2.177, allocations: 1.535 MB / 1.655 GB, free: 13.46 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/2.179, allocations: 1.16 MB / 1.656 GB, free: 12.31 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/2.179, allocations: 8 kB / 1.656 GB, free: 12.3 MB / 1.12 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006808/2.186, allocations: 3.452 MB / 1.659 GB, free: 8.805 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/2.186, allocations: 17.88 kB / 1.659 GB, free: 8.789 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/2.186, allocations: 24.12 kB / 1.659 GB, free: 8.766 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/2.188, allocations: 0.8882 MB / 1.66 GB, free: 7.84 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/2.19, allocations: 355.3 kB / 1.661 GB, free: 7.492 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/2.211, allocations: 21.18 MB / 1.681 GB, free: 0.7148 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/2.213, allocations: 99.92 kB / 1.681 GB, free: 0.6172 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/2.213, allocations: 87.98 kB / 1.682 GB, free: 0.5312 MB / 1.135 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.0004248/2.214, allocations: 221.6 kB / 1.682 GB, free: 316 kB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/2.214, allocations: 213.5 kB / 1.682 GB, free: 100 kB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005762/2.22, allocations: 2.943 MB / 1.685 GB, free: 13.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/2.22, allocations: 12 kB / 1.685 GB, free: 13.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/2.22, allocations: 12 kB / 1.685 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/2.22, allocations: 3.984 kB / 1.685 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/2.234, allocations: 7.243 MB / 1.692 GB, free: 5.598 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/2.234, allocations: 4 kB / 1.692 GB, free: 5.594 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/2.235, allocations: 184.2 kB / 1.692 GB, free: 5.414 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/2.237, allocations: 0.822 MB / 1.693 GB, free: 4.555 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/2.237, allocations: 32 kB / 1.693 GB, free: 4.523 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9395/3.177, allocations: 20.24 MB / 1.713 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/3.177, allocations: 7.625 kB / 1.713 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/3.184, allocations: 3.279 MB / 1.716 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/3.186, allocations: 455.3 kB / 1.716 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/3.186, allocations: 29.02 kB / 1.716 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009956/3.187, allocations: 76.06 kB / 1.716 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/3.188, allocations: 127.2 kB / 1.717 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/3.188, allocations: 39.17 kB / 1.717 GB, free: 279 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001849/3.19, allocations: 0.9439 MB / 1.718 GB, free: 278.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.19, allocations: 1.875 kB / 1.718 GB, free: 278.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004726/3.194, allocations: 0.8252 MB / 1.718 GB, free: 278.8 MB / 1.151 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.006666/3.201, allocations: 5.019 MB / 1.723 GB, free: 276.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006685/3.208, allocations: 3.933 MB / 1.727 GB, free: 275 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/3.208, allocations: 1.219 kB / 1.727 GB, free: 275 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004242/3.212, allocations: 2.693 MB / 1.73 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/3.216, allocations: 0.6356 MB / 1.73 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/3.234, allocations: 6.776 MB / 1.737 GB, free: 272.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005049/3.239, allocations: 3.187 MB / 1.74 GB, free: 271.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002269/3.241, allocations: 455.3 kB / 1.74 GB, free: 271.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/3.244, allocations: 1.542 MB / 1.742 GB, free: 271.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.833e-06/3.244, allocations: 0 / 1.742 GB, free: 271.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/3.359, allocations: 59.97 MB / 1.801 GB, free: 269.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/3.359, allocations: 201.7 kB / 1.801 GB, free: 269.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.371/6.729, allocations: 0 / 1.801 GB, free: 269.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat