Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.357/2.357, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001541/0.001541, allocations: 168.9 kB / 496.1 MB, free: 12.87 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.647/1.647, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0011/0.0011, allocations: 95.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.21e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3541, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.504, allocations: 183.4 MB / 1.398 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.504, allocations: 97.36 kB / 1.398 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5541/2.058, allocations: 211.5 MB / 1.605 GB, free: 5.152 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.317e-06/2.058, allocations: 0 / 1.605 GB, free: 5.152 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.000685/2.059, allocations: 131.9 kB / 1.605 GB, free: 5.023 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02142/2.08, allocations: 4.454 MB / 1.609 GB, free: 0.5039 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 7.619e-05/2.081, allocations: 12.03 kB / 1.609 GB, free: 0.4922 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005404/2.086, allocations: 0.801 MB / 1.61 GB, free: 15.68 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/2.096, allocations: 1.051 MB / 1.611 GB, free: 14.62 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/2.109, allocations: 3.403 MB / 1.614 GB, free: 11.16 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006461/2.11, allocations: 407.1 kB / 1.615 GB, free: 10.76 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0038/2.114, allocations: 0.5428 MB / 1.615 GB, free: 10.22 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/2.147, allocations: 8.496 MB / 1.623 GB, free: 1.293 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000475/2.148, allocations: 19.78 kB / 1.623 GB, free: 1.273 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00311/2.151, allocations: 244 kB / 1.624 GB, free: 1.035 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005983/2.151, allocations: 314.8 kB / 1.624 GB, free: 0.7266 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01955/2.171, allocations: 6.043 MB / 1.63 GB, free: 10.68 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06989/2.241, allocations: 40.1 MB / 1.669 GB, free: 14.85 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/2.246, allocations: 3.061 MB / 1.672 GB, free: 11.64 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/2.249, allocations: 1.956 MB / 1.674 GB, free: 9.691 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/2.249, allocations: 18 kB / 1.674 GB, free: 9.672 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/2.249, allocations: 52.56 kB / 1.674 GB, free: 9.613 MB / 1.135 GB Notification: Performance of pre-optimization done (n=179): time 5.902e-06/2.249, allocations: 0 / 1.674 GB, free: 9.613 MB / 1.135 GB Notification: Performance of matching and sorting (n=182): time 0.01325/2.262, allocations: 6.039 MB / 1.68 GB, free: 3.547 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/2.263, allocations: 77.41 kB / 1.68 GB, free: 3.457 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/2.265, allocations: 1.295 MB / 1.681 GB, free: 2.117 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/2.265, allocations: 53.7 kB / 1.681 GB, free: 2.059 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/2.267, allocations: 2.234 MB / 1.683 GB, free: 15.79 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/2.268, allocations: 0.6238 MB / 1.684 GB, free: 15.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/2.268, allocations: 44 kB / 1.684 GB, free: 15.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002413/2.268, allocations: 394.3 kB / 1.685 GB, free: 14.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/2.27, allocations: 1.148 MB / 1.686 GB, free: 13.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/2.273, allocations: 1.831 MB / 1.687 GB, free: 11.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/2.275, allocations: 1.493 MB / 1.689 GB, free: 9.938 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/2.275, allocations: 4 kB / 1.689 GB, free: 9.934 MB / 1.151 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008927/2.284, allocations: 4.496 MB / 1.693 GB, free: 5.414 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/2.284, allocations: 13.88 kB / 1.693 GB, free: 5.402 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.832e-05/2.284, allocations: 24 kB / 1.693 GB, free: 5.379 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/2.288, allocations: 1.568 MB / 1.695 GB, free: 3.805 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/2.29, allocations: 351.4 kB / 1.695 GB, free: 3.461 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.986/3.276, allocations: 16.99 MB / 1.712 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/3.279, allocations: 122.3 kB / 1.712 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/3.279, allocations: 92.59 kB / 1.712 GB, free: 277.3 MB / 1.151 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004946/3.279, allocations: 238.1 kB / 1.712 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/3.28, allocations: 224.5 kB / 1.712 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/3.289, allocations: 4.057 MB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/3.289, allocations: 18.56 kB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/3.289, allocations: 16.62 kB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/3.289, allocations: 10.09 kB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/3.312, allocations: 9.364 MB / 1.726 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/3.312, allocations: 4.75 kB / 1.726 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/3.313, allocations: 186.9 kB / 1.726 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00421/3.317, allocations: 1.341 MB / 1.727 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/3.317, allocations: 40.97 kB / 1.727 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/3.341, allocations: 15.87 MB / 1.743 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/3.342, allocations: 9.734 kB / 1.743 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008852/3.35, allocations: 4.313 MB / 1.747 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/3.352, allocations: 0.5312 MB / 1.747 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006052/3.353, allocations: 39.92 kB / 1.747 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/3.354, allocations: 85.39 kB / 1.747 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007342/3.355, allocations: 167.7 kB / 1.748 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/3.355, allocations: 46.22 kB / 1.748 GB, free: 269.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001957/3.357, allocations: 0.9759 MB / 1.749 GB, free: 269.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.713e-06/3.357, allocations: 1 kB / 1.749 GB, free: 269.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0056/3.363, allocations: 1.031 MB / 1.75 GB, free: 269.4 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009341/3.372, allocations: 6.061 MB / 1.756 GB, free: 266.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008809/3.381, allocations: 4.189 MB / 1.76 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/3.381, allocations: 0.5312 kB / 1.76 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/3.387, allocations: 2.616 MB / 1.762 GB, free: 265.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/3.391, allocations: 0.6758 MB / 1.763 GB, free: 265.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/3.413, allocations: 8.275 MB / 1.771 GB, free: 263.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005307/3.418, allocations: 3.672 MB / 1.775 GB, free: 263.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00223/3.421, allocations: 473.2 kB / 1.775 GB, free: 263.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/3.424, allocations: 1.786 MB / 1.777 GB, free: 263.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.233e-06/3.424, allocations: 2.875 kB / 1.777 GB, free: 263.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/3.551, allocations: 71.82 MB / 1.847 GB, free: 260.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/3.551, allocations: 204.8 kB / 1.847 GB, free: 260.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.687/7.237, allocations: 0 / 1.847 GB, free: 260.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat