Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.003791/0.003791, allocations: 182.6 kB / 7.458 MB, free: 2.516 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.323/1.323, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.001025/0.001025, allocations: 99.78 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4703/0.4703, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1664/0.6367, allocations: 75.47 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/1.034, allocations: 69.35 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/1.155, allocations: 91.56 MB / 0.6302 GB, free: 13.24 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.156, allocations: 67.97 kB / 0.6303 GB, free: 13.17 MB / 458.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.03315/1.189, allocations: 11.85 MB / 0.6419 GB, free: 1.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.189, allocations: 16 kB / 0.6419 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/1.19, allocations: 223 kB / 0.6421 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/1.191, allocations: 457.7 kB / 0.6425 GB, free: 464 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/1.191, allocations: 185.4 kB / 0.6427 GB, free: 248 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/1.191, allocations: 24 kB / 0.6427 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008022/1.192, allocations: 378 kB / 0.6431 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/1.193, allocations: 443.9 kB / 0.6435 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.193, allocations: 3.938 kB / 0.6435 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/1.193, allocations: 3.984 kB / 0.6435 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/1.193, allocations: 8 kB / 0.6435 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/1.196, allocations: 2.137 MB / 0.6456 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/1.197, allocations: 370 kB / 0.646 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/1.197, allocations: 207.2 kB / 0.6462 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/1.198, allocations: 11.98 kB / 0.6462 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/1.198, allocations: 283.4 kB / 0.6464 GB, free: 12.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 3.226e-06/1.198, allocations: 4 kB / 0.6464 GB, free: 12.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.003915/1.202, allocations: 1.331 MB / 0.6477 GB, free: 10.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.202, allocations: 89.03 kB / 0.6478 GB, free: 10.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/1.202, allocations: 333.2 kB / 0.6481 GB, free: 10.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/1.203, allocations: 29.7 kB / 0.6482 GB, free: 10.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.203, allocations: 216 kB / 0.6484 GB, free: 10.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/1.203, allocations: 138 kB / 0.6485 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/1.203, allocations: 0 / 0.6485 GB, free: 10.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/1.203, allocations: 358.8 kB / 0.6488 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/1.203, allocations: 188.9 kB / 0.649 GB, free: 9.473 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/1.204, allocations: 222.1 kB / 0.6492 GB, free: 9.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/1.204, allocations: 199.8 kB / 0.6494 GB, free: 9.055 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.204, allocations: 3.938 kB / 0.6494 GB, free: 9.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003872/1.208, allocations: 1.402 MB / 0.6508 GB, free: 7.629 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.208, allocations: 4 kB / 0.6508 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.208, allocations: 4 kB / 0.6508 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.21, allocations: 0.702 MB / 0.6515 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1.211, allocations: 51.84 kB / 0.6515 GB, free: 6.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/1.216, allocations: 3.773 MB / 0.6552 GB, free: 2.852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/1.217, allocations: 79.64 kB / 0.6553 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/1.217, allocations: 16 kB / 0.6553 GB, free: 2.758 MB / 474.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.000195/1.217, allocations: 116.4 kB / 0.6554 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.217, allocations: 55.34 kB / 0.6555 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/1.221, allocations: 1.368 MB / 0.6568 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.221, allocations: 4 kB / 0.6568 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.221, allocations: 4 kB / 0.6568 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.221, allocations: 11.91 kB / 0.6568 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/1.222, allocations: 0.5561 MB / 0.6574 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.222, allocations: 0 / 0.6574 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.222, allocations: 27.92 kB / 0.6574 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/1.224, allocations: 0.7059 MB / 0.6581 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.224, allocations: 0 / 0.6581 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/1.229, allocations: 3.762 MB / 0.6618 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.229, allocations: 3.938 kB / 0.6618 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003719/1.233, allocations: 1.398 MB / 0.6631 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003794/1.237, allocations: 1.764 MB / 0.6649 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.237, allocations: 136.3 kB / 0.665 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-05/1.237, allocations: 0 / 0.665 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/1.238, allocations: 59.95 kB / 0.6651 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.238, allocations: 51.91 kB / 0.6651 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.238, allocations: 8 kB / 0.6651 GB, free: 8.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002874/1.238, allocations: 263.2 kB / 0.6654 GB, free: 8.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001161/1.239, allocations: 179.6 kB / 0.6655 GB, free: 7.902 MB / 490.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.0002151/1.239, allocations: 111 kB / 0.6656 GB, free: 7.781 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/1.242, allocations: 1.151 MB / 0.6668 GB, free: 6.566 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.242, allocations: 0 / 0.6668 GB, free: 6.566 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.244, allocations: 0.9455 MB / 0.6677 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/1.245, allocations: 25.97 kB / 0.6677 GB, free: 5.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.246, allocations: 0.6562 MB / 0.6684 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/1.247, allocations: 0.8935 MB / 0.6692 GB, free: 3.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/1.247, allocations: 0 / 0.6692 GB, free: 3.93 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)