Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000921/0.0009209, allocations: 183.8 kB / 8.136 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.034/1.034, allocations: 221.4 MB / 229.9 MB, free: 3 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.0008471/0.0008471, allocations: 100.3 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6045/0.6045, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3105/0.915, allocations: 88.96 MB / 0.5283 GB, free: 52.31 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/1.023, allocations: 82.84 MB / 0.6092 GB, free: 3.461 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/1.455, allocations: 127.5 MB / 0.7337 GB, free: 2.461 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001019/1.455, allocations: 48.86 kB / 0.7338 GB, free: 2.441 MB / 0.4953 GB 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.01182/1.467, allocations: 5.453 MB / 0.7391 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/1.467, allocations: 8 kB / 0.7391 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/1.467, allocations: 43.61 kB / 0.7391 GB, free: 13.71 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/1.468, allocations: 271.5 kB / 0.7394 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/1.468, allocations: 8 kB / 0.7394 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/1.468, allocations: 20 kB / 0.7394 GB, free: 13.4 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002617/1.468, allocations: 158.2 kB / 0.7396 GB, free: 13.3 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/1.468, allocations: 209.4 kB / 0.7398 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.468, allocations: 3.938 kB / 0.7398 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.468, allocations: 224 / 0.7398 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/1.468, allocations: 8 kB / 0.7398 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/1.47, allocations: 0.9951 MB / 0.7408 GB, free: 12.24 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/1.47, allocations: 159.3 kB / 0.7409 GB, free: 12.13 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/1.47, allocations: 110 kB / 0.741 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/1.47, allocations: 4 kB / 0.741 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/1.47, allocations: 186.4 kB / 0.7412 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/1.47, allocations: 0 / 0.7412 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.000457/1.471, allocations: 266 kB / 0.7415 GB, free: 11.67 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.471, allocations: 166 kB / 0.7416 GB, free: 11.47 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.471, allocations: 183.6 kB / 0.7418 GB, free: 11.31 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.471, allocations: 33.52 kB / 0.7418 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/1.471, allocations: 164.7 kB / 0.742 GB, free: 11.12 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/1.471, allocations: 80.94 kB / 0.7421 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/1.471, allocations: 0 / 0.7421 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/1.471, allocations: 339.5 kB / 0.7424 GB, free: 10.72 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.471, allocations: 73.12 kB / 0.7425 GB, free: 10.68 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/1.471, allocations: 140 kB / 0.7426 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.472, allocations: 88.53 kB / 0.7427 GB, free: 10.49 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.472, allocations: 7.938 kB / 0.7427 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004561/1.472, allocations: 316.2 kB / 0.743 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.472, allocations: 8 kB / 0.743 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.472, allocations: 7.891 kB / 0.743 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/1.472, allocations: 78.09 kB / 0.7431 GB, free: 10.15 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/1.472, allocations: 35.3 kB / 0.7431 GB, free: 10.12 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.474, allocations: 1.665 MB / 0.7447 GB, free: 8.523 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/1.474, allocations: 43.88 kB / 0.7448 GB, free: 8.48 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/1.474, allocations: 15.56 kB / 0.7448 GB, free: 8.469 MB / 0.5109 GB 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.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 9.026e-05/1.474, allocations: 121 kB / 0.7449 GB, free: 8.348 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/1.474, allocations: 23.72 kB / 0.7449 GB, free: 8.324 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/1.474, allocations: 29.92 kB / 0.745 GB, free: 8.309 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.474, allocations: 7.984 kB / 0.745 GB, free: 8.301 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.474, allocations: 7.938 kB / 0.745 GB, free: 8.293 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.474, allocations: 0 / 0.745 GB, free: 8.293 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/1.475, allocations: 300.8 kB / 0.7453 GB, free: 8.016 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.475, allocations: 4 kB / 0.7453 GB, free: 8.012 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/1.475, allocations: 19.98 kB / 0.7453 GB, free: 7.992 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/1.475, allocations: 77.95 kB / 0.7454 GB, free: 7.93 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.475, allocations: 8 kB / 0.7454 GB, free: 7.922 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/1.476, allocations: 1.656 MB / 0.747 GB, free: 6.336 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.476, allocations: 4.062 kB / 0.747 GB, free: 6.332 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005033/1.477, allocations: 389.8 kB / 0.7474 GB, free: 6.031 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006711/1.478, allocations: 0.8578 MB / 0.7482 GB, free: 5.293 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/1.478, allocations: 104.3 kB / 0.7483 GB, free: 5.176 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.478, allocations: 7.984 kB / 0.7483 GB, free: 5.168 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.478, allocations: 28.05 kB / 0.7483 GB, free: 5.141 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.478, allocations: 23.25 kB / 0.7483 GB, free: 5.121 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/1.478, allocations: 15.42 kB / 0.7484 GB, free: 5.109 MB / 0.5109 GB Notification: Performance of sort global known variables: time 8.796e-05/1.478, allocations: 143.5 kB / 0.7485 GB, free: 4.992 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008296/1.479, allocations: 103.7 kB / 0.7486 GB, free: 4.891 MB / 0.5109 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.open) * 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.0002311/1.479, allocations: 121.4 kB / 0.7487 GB, free: 4.773 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0004995/1.48, allocations: 345.5 kB / 0.749 GB, free: 4.492 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.48, allocations: 0 / 0.749 GB, free: 4.492 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/1.48, allocations: 230 kB / 0.7493 GB, free: 4.289 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/1.48, allocations: 36.42 kB / 0.7493 GB, free: 4.258 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/1.481, allocations: 343.5 kB / 0.7496 GB, free: 3.941 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/1.481, allocations: 0.8053 MB / 0.7504 GB, free: 3.113 MB / 0.5109 GB Notification: Performance of SimCode: time 2.6e-07/1.481, allocations: 0 / 0.7504 GB, free: 3.113 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1)