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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 176.2 kB / 7.648 MB, free: 1.422 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.667/1.667, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.001035/0.001035, allocations: 87.61 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5063/0.5063, allocations: 78.07 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.029e-05, allocations: 7.922 kB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 69.37 MB / 0.5414 GB, free: 6.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/0.7279, allocations: 91.63 MB / 0.6308 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.7282, allocations: 69.77 kB / 0.6309 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.7574, allocations: 11.1 MB / 0.6418 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7574, allocations: 4 kB / 0.6418 GB, free: 12.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.7574, allocations: 8 kB / 0.6418 GB, free: 12.76 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.002387/0.7598, allocations: 0.9942 MB / 0.6427 GB, free: 11.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7599, allocations: 8.219 kB / 0.6427 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.7609, allocations: 211 kB / 0.6429 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.7617, allocations: 467.7 kB / 0.6434 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.7619, allocations: 177.8 kB / 0.6436 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.762, allocations: 24 kB / 0.6436 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006565/0.7627, allocations: 382.6 kB / 0.6439 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.7634, allocations: 443.3 kB / 0.6444 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.7634, allocations: 352 / 0.6444 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.7635, allocations: 3.953 kB / 0.6444 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.7635, allocations: 13.56 kB / 0.6444 GB, free: 9.941 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.7663, allocations: 2.065 MB / 0.6464 GB, free: 7.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.7777, allocations: 2.664 MB / 0.649 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.7781, allocations: 206.4 kB / 0.6492 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.701e-05/0.7782, allocations: 4 kB / 0.6492 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.7786, allocations: 291.5 kB / 0.6495 GB, free: 4.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.7786, allocations: 5.438 kB / 0.6495 GB, free: 4.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.003677/0.7823, allocations: 1.289 MB / 0.6507 GB, free: 3.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.7824, allocations: 81.11 kB / 0.6508 GB, free: 3.074 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.7829, allocations: 337.3 kB / 0.6511 GB, free: 2.742 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.7829, allocations: 25.7 kB / 0.6512 GB, free: 2.711 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.7831, allocations: 280 kB / 0.6514 GB, free: 2.434 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.7832, allocations: 130 kB / 0.6516 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.7833, allocations: 0 / 0.6516 GB, free: 2.305 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7834, allocations: 370.7 kB / 0.6519 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.7837, allocations: 188.9 kB / 0.6521 GB, free: 1.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.784, allocations: 226 kB / 0.6523 GB, free: 1.523 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.7843, allocations: 197.5 kB / 0.6525 GB, free: 1.332 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.7843, allocations: 0 / 0.6525 GB, free: 1.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003548/0.7879, allocations: 1.338 MB / 0.6538 GB, free: 15.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7879, allocations: 5.406 kB / 0.6538 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.7879, allocations: 3.938 kB / 0.6538 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.7901, allocations: 0.68 MB / 0.6545 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.7903, allocations: 43.91 kB / 0.6545 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.7952, allocations: 3.917 MB / 0.6583 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.7958, allocations: 75.64 kB / 0.6584 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.7958, allocations: 12.06 kB / 0.6584 GB, free: 11.01 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.0001987/0.796, allocations: 119.1 kB / 0.6585 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003441/0.7995, allocations: 1.286 MB / 0.6598 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.7996, allocations: 47.44 kB / 0.6598 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.8032, allocations: 1.319 MB / 0.6611 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8032, allocations: 4 kB / 0.6611 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8032, allocations: 1.625 kB / 0.6611 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.8032, allocations: 3.984 kB / 0.6611 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.804, allocations: 0.5561 MB / 0.6617 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.804, allocations: 0 / 0.6617 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.8042, allocations: 31.92 kB / 0.6617 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.8062, allocations: 0.6765 MB / 0.6624 GB, free: 6.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8063, allocations: 9.156 kB / 0.6624 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.8113, allocations: 3.909 MB / 0.6662 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8113, allocations: 1.562 kB / 0.6662 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.8148, allocations: 1.334 MB / 0.6675 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.815, allocations: 136.4 kB / 0.6676 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.815, allocations: 0 / 0.6676 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.8155, allocations: 59.94 kB / 0.6677 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.8158, allocations: 95.78 kB / 0.6678 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.8158, allocations: 11.98 kB / 0.6678 GB, free: 1.055 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002813/0.8161, allocations: 267 kB / 0.668 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8161, allocations: 0 / 0.668 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.8167, allocations: 175.6 kB / 0.6682 GB, free: 0.625 MB / 474.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.003836/0.8205, allocations: 1.948 MB / 0.6701 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.8231, allocations: 1.166 MB / 0.6713 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8232, allocations: 0 / 0.6713 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.8252, allocations: 0.944 MB / 0.6722 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.8257, allocations: 30.08 kB / 0.6722 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.8275, allocations: 0.7145 MB / 0.6729 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.828, allocations: 0.8707 MB / 0.6738 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.8281, allocations: 27.28 kB / 0.6738 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.8283, allocations: 179.4 kB / 0.674 GB, free: 10.51 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.8283, allocations: 4.656 kB / 0.674 GB, free: 10.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.8588, allocations: 11.59 MB / 0.6853 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.859, allocations: 113.6 kB / 0.6854 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.105, allocations: 0 / 0.6854 GB, free: 14.85 MB / 0.4948 GB (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)