Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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 3.2.3+maint.om/package.mo): time 0.00314/0.00314, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.2 MB / 213.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 97.66 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0614/0.0614, allocations: 12.2 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2781/0.2781, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2693/0.5474, allocations: 76.08 MB / 0.5137 GB, free: 30.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.6782, allocations: 69.23 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/1.051, allocations: 93.08 MB / 0.6722 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.051, allocations: 73.39 kB / 0.6722 GB, free: 10.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.03097/1.082, allocations: 11.51 MB / 0.6835 GB, free: 5.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.082, allocations: 15.94 kB / 0.6835 GB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/1.084, allocations: 223.6 kB / 0.6837 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/1.085, allocations: 451.2 kB / 0.6841 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.085, allocations: 177.5 kB / 0.6843 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/1.085, allocations: 24 kB / 0.6843 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006441/1.085, allocations: 389.2 kB / 0.6847 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/1.086, allocations: 429.3 kB / 0.6851 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.086, allocations: 4 kB / 0.6851 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/1.086, allocations: 0 / 0.6851 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.086, allocations: 8 kB / 0.6851 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/1.091, allocations: 2.144 MB / 0.6872 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/1.091, allocations: 372.2 kB / 0.6876 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/1.092, allocations: 199.6 kB / 0.6878 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/1.092, allocations: 9.375 kB / 0.6878 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006238/1.093, allocations: 297 kB / 0.6881 GB, free: 1.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 4.167e-06/1.093, allocations: 0 / 0.6881 GB, free: 1.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.006032/1.099, allocations: 1.329 MB / 0.6893 GB, free: 100 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.099, allocations: 88.73 kB / 0.6894 GB, free: 16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/1.099, allocations: 348.5 kB / 0.6898 GB, free: 15.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.099, allocations: 25.7 kB / 0.6898 GB, free: 15.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/1.1, allocations: 215.8 kB / 0.69 GB, free: 15.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.1, allocations: 124.1 kB / 0.6901 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/1.1, allocations: 3.125 kB / 0.6901 GB, free: 15.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/1.1, allocations: 360.7 kB / 0.6905 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/1.101, allocations: 192.9 kB / 0.6906 GB, free: 14.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/1.101, allocations: 230.3 kB / 0.6909 GB, free: 14.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/1.102, allocations: 192.9 kB / 0.691 GB, free: 14.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.102, allocations: 0 / 0.691 GB, free: 14.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.006278/1.108, allocations: 1.404 MB / 0.6924 GB, free: 13.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.108, allocations: 4 kB / 0.6924 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.108, allocations: 3.984 kB / 0.6924 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.112, allocations: 0.715 MB / 0.6931 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.112, allocations: 47.2 kB / 0.6932 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/1.121, allocations: 3.761 MB / 0.6968 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.122, allocations: 75.64 kB / 0.6969 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/1.122, allocations: 19.41 kB / 0.6969 GB, free: 9.289 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerPara.vs.im:VARIABLE() "Imaginary part of complex number" type: Real breakerPara.vs.re:VARIABLE() "Real part of complex number" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerExt.vs.re:VARIABLE() "Real part of complex number" type: Real breakerExt.vs.im:VARIABLE() "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003678/1.122, allocations: 114.5 kB / 0.697 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.123, allocations: 47.44 kB / 0.6971 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006324/1.129, allocations: 1.375 MB / 0.6984 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.129, allocations: 4 kB / 0.6984 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/1.129, allocations: 4 kB / 0.6984 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.129, allocations: 3.984 kB / 0.6984 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.13, allocations: 0.5608 MB / 0.699 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.13, allocations: 8 kB / 0.699 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/1.13, allocations: 20 kB / 0.699 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.134, allocations: 0.7129 MB / 0.6997 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.134, allocations: 0 / 0.6997 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007934/1.142, allocations: 3.758 MB / 0.7034 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.142, allocations: 0 / 0.7034 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003996/1.146, allocations: 1.391 MB / 0.7047 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00415/1.15, allocations: 1.772 MB / 0.7065 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/1.15, allocations: 131.7 kB / 0.7066 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.151, allocations: 7.891 kB / 0.7066 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/1.151, allocations: 63.95 kB / 0.7067 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/1.151, allocations: 46.84 kB / 0.7067 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/1.151, allocations: 11.94 kB / 0.7067 GB, free: 348 kB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003411/1.152, allocations: 263.5 kB / 0.707 GB, free: 148 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001288/1.153, allocations: 175.8 kB / 0.7071 GB, free: 15.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/1.153, allocations: 114.4 kB / 0.7072 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002729/1.156, allocations: 1.16 MB / 0.7084 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.156, allocations: 0 / 0.7084 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.158, allocations: 0.9251 MB / 0.7093 GB, free: 13.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/1.159, allocations: 37.48 kB / 0.7093 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.161, allocations: 0.6525 MB / 0.71 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/1.161, allocations: 0.8934 MB / 0.7108 GB, free: 12.43 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/1.161, allocations: 0 / 0.7108 GB, free: 12.43 MB / 458.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)