Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.089/1.089, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007146/0.0007146, allocations: 87.88 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6905/0.6905, allocations: 120.5 MB / 457.9 MB, free: 7.031 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.072e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.413, allocations: 82.83 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.5273, allocations: 128.3 MB / 0.742 GB, free: 8.863 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.5275, allocations: 71.91 kB / 0.7421 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.4399/0.9674, allocations: 12.96 MB / 0.7547 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9674, allocations: 0 / 0.7547 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.9675, allocations: 17.89 kB / 0.7548 GB, free: 129.1 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002087/0.9696, allocations: 1.29 MB / 0.756 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.9696, allocations: 8.688 kB / 0.756 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.9698, allocations: 136.3 kB / 0.7562 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.97, allocations: 104.2 kB / 0.7563 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.9708, allocations: 0.5509 MB / 0.7568 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.9709, allocations: 58.83 kB / 0.7569 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.971, allocations: 82.97 kB / 0.7569 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.9723, allocations: 0.9603 MB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.9723, allocations: 1.031 kB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.9724, allocations: 40.83 kB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.9724, allocations: 22.06 kB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.9735, allocations: 0.851 MB / 0.7588 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.978, allocations: 3.204 MB / 0.7619 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.9786, allocations: 0.8117 MB / 0.7627 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.9791, allocations: 0.498 MB / 0.7632 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.9791, allocations: 7.938 kB / 0.7632 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/0.9798, allocations: 0.7438 MB / 0.7639 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=86): time 1.893e-06/0.9798, allocations: 2.688 kB / 0.7639 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86): time 0.001324/0.9811, allocations: 1.175 MB / 0.7651 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.9812, allocations: 366 kB / 0.7654 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.9816, allocations: 0.5804 MB / 0.766 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.9817, allocations: 71.72 kB / 0.766 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.9818, allocations: 366.5 kB / 0.7664 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.9819, allocations: 259.4 kB / 0.7666 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.982, allocations: 19.97 kB / 0.7667 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.9821, allocations: 394.1 kB / 0.767 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.9825, allocations: 470.6 kB / 0.7675 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.9831, allocations: 0.6995 MB / 0.7682 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.9836, allocations: 0.5489 MB / 0.7687 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9836, allocations: 3.219 kB / 0.7687 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001602/0.9852, allocations: 1.554 MB / 0.7702 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.9853, allocations: 8.781 kB / 0.7702 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.9853, allocations: 5.859 kB / 0.7702 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.9859, allocations: 412.5 kB / 0.7706 GB, free: 121 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.9863, allocations: 123.8 kB / 0.7707 GB, free: 120.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.9898, allocations: 4.13 MB / 0.7748 GB, free: 116.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.9905, allocations: 187.1 kB / 0.775 GB, free: 116.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.9905, allocations: 40 kB / 0.775 GB, free: 116.4 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition19,$PRE.B[1].open,B[1].open,$whenCondition17,$PRE.B[2].open,B[2].open,$whenCondition15,$PRE.B[3].open,B[3].open,$whenCondition13,$PRE.B[4].open,B[4].open,$whenCondition11,$PRE.B[5].open,B[5].open,$whenCondition9,$PRE.B[6].open,B[6].open,$whenCondition7,$PRE.B[7].open,B[7].open,$whenCondition5,$PRE.B[8].open,B[8].open,$whenCondition3,$PRE.B[9].open,B[9].open,$whenCondition1,$PRE.B[10].open,B[10].open,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G,$PRE.B[4].G,B[4].G,$PRE.B[5].G,B[5].G,$PRE.B[6].G,B[6].G,$PRE.B[7].G,B[7].G,$PRE.B[8].G,B[8].G,$PRE.B[9].G,B[9].G,$PRE.B[10].G,B[10].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.9907, allocations: 203.9 kB / 0.7752 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.9908, allocations: 75.16 kB / 0.7753 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.9909, allocations: 91.12 kB / 0.7754 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9909, allocations: 12 kB / 0.7754 GB, free: 116 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9909, allocations: 7.938 kB / 0.7754 GB, free: 116 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.991, allocations: 3.984 kB / 0.7754 GB, free: 116 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.9915, allocations: 0.8296 MB / 0.7762 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9916, allocations: 0 / 0.7762 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.9917, allocations: 47.75 kB / 0.7762 GB, free: 115.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005803/0.9923, allocations: 401.1 kB / 0.7766 GB, free: 114.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.9923, allocations: 23.98 kB / 0.7766 GB, free: 114.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.9958, allocations: 4.099 MB / 0.7806 GB, free: 110.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9958, allocations: 4 kB / 0.7806 GB, free: 110.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.9975, allocations: 1.751 MB / 0.7824 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.9976, allocations: 168.1 kB / 0.7825 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.9977, allocations: 31.97 kB / 0.7825 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.9983, allocations: 127.9 kB / 0.7827 GB, free: 108.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.9984, allocations: 120.6 kB / 0.7828 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.9985, allocations: 39.97 kB / 0.7828 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003168/0.9988, allocations: 449.4 kB / 0.7832 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9988, allocations: 0 / 0.7832 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005197/0.9993, allocations: 356 kB / 0.7836 GB, free: 107.4 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G,B[4].open,B[4].G,B[5].open,B[5].G,B[6].open,B[6].G,B[7].open,B[7].G,B[8].open,B[8].G,B[9].open,B[9].G,B[10].open,B[10].G) * Number of discrete states: 10 (B[10].open,B[9].open,B[8].open,B[7].open,B[6].open,B[5].open,B[4].open,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/1.001, allocations: 2.373 MB / 0.7859 GB, free: 105 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.003, allocations: 1.397 MB / 0.7873 GB, free: 103.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.003, allocations: 192 / 0.7873 GB, free: 103.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0008912/1.004, allocations: 0.8347 MB / 0.7881 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/1.004, allocations: 122.6 kB / 0.7882 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/1.006, allocations: 1.656 MB / 0.7898 GB, free: 101 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/1.006, allocations: 1.154 MB / 0.7909 GB, free: 99.78 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002625/1.006, allocations: 145.2 kB / 0.7911 GB, free: 99.64 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/1.007, allocations: 259.3 kB / 0.7913 GB, free: 99.39 MB / 0.5421 GB Notification: Performance of SimCode: time 2.31e-07/1.007, allocations: 0 / 0.7913 GB, free: 99.39 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.033, allocations: 19.67 MB / 0.8105 GB, free: 80.03 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/1.033, allocations: 260 kB / 0.8108 GB, free: 79.69 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/3.14, allocations: 0 / 0.8108 GB, free: 79.69 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat does not exist to compare? outputFormat=mat