Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.conf.json 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/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/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 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.05 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 179.3 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241.2 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7175/0.7175, allocations: 120.5 MB / 412.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 12 kB / 0.4943 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 82.85 MB / 0.5753 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.001927/0.1464, allocations: 1.687 MB / 0.5769 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.1472, allocations: 0.5108 MB / 0.5774 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.1473, allocations: 8 kB / 0.5774 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1475, allocations: 23.84 kB / 0.5774 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1477, allocations: 35.75 kB / 0.5775 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1479, allocations: 55.86 kB / 0.5775 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.1483, allocations: 418.3 kB / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1485, allocations: 130.2 kB / 0.578 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1486, allocations: 127.6 kB / 0.5782 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1488, allocations: 155.3 kB / 0.5783 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.1489, allocations: 16 kB / 0.5783 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.1489, allocations: 28 kB / 0.5784 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.149, allocations: 63.73 kB / 0.5784 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.1491, allocations: 85.58 kB / 0.5785 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1494, allocations: 339.3 kB / 0.5788 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1494, allocations: 0 / 0.5788 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1494, allocations: 0 / 0.5788 GB, free: 4.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1494, allocations: 0 / 0.5788 GB, free: 4.301 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009708/0.1504, allocations: 0.6635 MB / 0.5795 GB, free: 3.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1504, allocations: 12.02 kB / 0.5795 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/0.1505, allocations: 78.44 kB / 0.5796 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.1506, allocations: 39.61 kB / 0.5796 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1509, allocations: 306.4 kB / 0.5799 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.151, allocations: 20.66 kB / 0.5799 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.151, allocations: 31.94 kB / 0.5799 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.1516, allocations: 397.9 kB / 0.5803 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1517, allocations: 0 / 0.5803 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1517, allocations: 12 kB / 0.5803 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1517, allocations: 7.953 kB / 0.5803 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.1522, allocations: 342.4 kB / 0.5807 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.154, allocations: 1.264 MB / 0.5819 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1544, allocations: 286.6 kB / 0.5822 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.1547, allocations: 188.6 kB / 0.5824 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1547, allocations: 4 kB / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.1551, allocations: 295.4 kB / 0.5826 GB, free: 184 kB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.1551, allocations: 3.984 kB / 0.5826 GB, free: 180 kB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.4576/0.6127, allocations: 0.7776 MB / 0.5834 GB, free: 16.21 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.6128, allocations: 166.4 kB / 0.5836 GB, free: 16.03 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.6132, allocations: 306.1 kB / 0.5838 GB, free: 15.92 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.6132, allocations: 40.03 kB / 0.5839 GB, free: 15.89 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6134, allocations: 184.7 kB / 0.5841 GB, free: 15.8 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.6134, allocations: 91.83 kB / 0.5842 GB, free: 15.75 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.6135, allocations: 7.875 kB / 0.5842 GB, free: 15.75 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.6135, allocations: 342 kB / 0.5845 GB, free: 15.44 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6138, allocations: 164 kB / 0.5846 GB, free: 15.44 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.6141, allocations: 262.5 kB / 0.5849 GB, free: 15.37 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.6144, allocations: 194.2 kB / 0.5851 GB, free: 15.37 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6145, allocations: 0.9375 kB / 0.5851 GB, free: 15.37 MB / 446.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008823/0.6153, allocations: 0.572 MB / 0.5856 GB, free: 15.28 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6154, allocations: 8.016 kB / 0.5856 GB, free: 15.28 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6154, allocations: 1.781 kB / 0.5856 GB, free: 15.28 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.6157, allocations: 121.9 kB / 0.5858 GB, free: 15.27 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.6159, allocations: 44.91 kB / 0.5858 GB, free: 15.27 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.618, allocations: 2.114 MB / 0.5879 GB, free: 13.97 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.6183, allocations: 75.03 kB / 0.5879 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.6184, allocations: 13.8 kB / 0.588 GB, free: 13.95 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.6186, allocations: 211.4 kB / 0.5882 GB, free: 13.79 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.6186, allocations: 27.41 kB / 0.5882 GB, free: 13.78 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.6187, allocations: 36.38 kB / 0.5882 GB, free: 13.76 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6187, allocations: 3.688 kB / 0.5882 GB, free: 13.76 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.6187, allocations: 2 kB / 0.5882 GB, free: 13.76 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6187, allocations: 12.75 kB / 0.5882 GB, free: 13.76 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.6191, allocations: 402.8 kB / 0.5886 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6191, allocations: 2.469 kB / 0.5886 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6192, allocations: 20.31 kB / 0.5886 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/0.6195, allocations: 115.5 kB / 0.5888 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6196, allocations: 6.406 kB / 0.5888 GB, free: 13.44 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.6213, allocations: 2.12 MB / 0.5908 GB, free: 11.84 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6214, allocations: 0.7188 kB / 0.5908 GB, free: 11.84 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.6223, allocations: 0.6453 MB / 0.5915 GB, free: 11.59 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.6224, allocations: 109.9 kB / 0.5916 GB, free: 11.47 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.6224, allocations: 11.33 kB / 0.5916 GB, free: 11.47 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.6227, allocations: 50.06 kB / 0.5916 GB, free: 11.46 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.6227, allocations: 28.06 kB / 0.5916 GB, free: 11.46 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.6228, allocations: 15.08 kB / 0.5917 GB, free: 11.46 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0002112/0.623, allocations: 215.3 kB / 0.5919 GB, free: 11.35 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.623, allocations: 0 / 0.5919 GB, free: 11.35 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004595/0.6235, allocations: 129.3 kB / 0.592 GB, free: 11.32 MB / 446.3 MB 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.6247, allocations: 1.2 MB / 0.5932 GB, free: 10.54 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.6256, allocations: 0.5405 MB / 0.5937 GB, free: 10.3 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6256, allocations: 0.7188 kB / 0.5937 GB, free: 10.3 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.6261, allocations: 355.6 kB / 0.594 GB, free: 10.11 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.6265, allocations: 56.84 kB / 0.5941 GB, free: 10.08 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.6295, allocations: 2.241 MB / 0.5963 GB, free: 9.008 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.6298, allocations: 0.842 MB / 0.5971 GB, free: 8.293 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.63, allocations: 53.06 kB / 0.5971 GB, free: 8.285 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6301, allocations: 97.59 kB / 0.5972 GB, free: 8.211 MB / 446.3 MB Notification: Performance of SimCode: time 7.61e-07/0.6301, allocations: 0 / 0.5972 GB, free: 8.211 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.652, allocations: 7.498 MB / 0.6046 GB, free: 5.895 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.6522, allocations: 282 kB / 0.6048 GB, free: 5.543 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.591, allocations: 2.391 kB / 0.6048 GB, free: 5.543 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat does not exist to compare? outputFormat=mat