Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_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.001018/0.001018, allocations: 173.9 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.443/1.443, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009483/0.0009483, allocations: 95.55 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5027/0.5027, allocations: 78.95 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.234e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.6031, allocations: 92.21 MB / 0.6326 GB, free: 5.855 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.6033, allocations: 69.75 kB / 0.6326 GB, free: 5.789 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02983/0.6332, allocations: 11.21 MB / 0.6436 GB, free: 10.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6332, allocations: 0 / 0.6436 GB, free: 10.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.213e-05/0.6333, allocations: 12 kB / 0.6436 GB, free: 10.7 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.002652/0.6359, allocations: 1.002 MB / 0.6446 GB, free: 9.652 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.636, allocations: 8.031 kB / 0.6446 GB, free: 9.645 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6372, allocations: 212.8 kB / 0.6448 GB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.6382, allocations: 455.8 kB / 0.6452 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.6384, allocations: 177.8 kB / 0.6454 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.6385, allocations: 24.88 kB / 0.6454 GB, free: 8.723 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007754/0.6393, allocations: 386.5 kB / 0.6458 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.6401, allocations: 439.4 kB / 0.6462 GB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6401, allocations: 4.328 kB / 0.6462 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.6401, allocations: 3.953 kB / 0.6462 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.6402, allocations: 12 kB / 0.6462 GB, free: 7.883 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.003109/0.6433, allocations: 2.061 MB / 0.6482 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.6545, allocations: 2.66 MB / 0.6508 GB, free: 2.945 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.6549, allocations: 211.4 kB / 0.651 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.655, allocations: 11.97 kB / 0.651 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.6556, allocations: 295.4 kB / 0.6513 GB, free: 2.414 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.716e-06/0.6556, allocations: 0 / 0.6513 GB, free: 2.414 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.003858/0.6595, allocations: 1.277 MB / 0.6526 GB, free: 1.121 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.6596, allocations: 85.11 kB / 0.6526 GB, free: 1.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.6601, allocations: 333.3 kB / 0.653 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.6602, allocations: 33.64 kB / 0.653 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.6604, allocations: 280 kB / 0.6533 GB, free: 384 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.6606, allocations: 131.4 kB / 0.6534 GB, free: 252 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.6606, allocations: 0 / 0.6534 GB, free: 252 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6608, allocations: 362.7 kB / 0.6537 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.6611, allocations: 192.9 kB / 0.6539 GB, free: 15.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.6614, allocations: 226 kB / 0.6541 GB, free: 15.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.6618, allocations: 193.5 kB / 0.6543 GB, free: 15.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6618, allocations: 0 / 0.6543 GB, free: 15.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003676/0.6655, allocations: 1.347 MB / 0.6556 GB, free: 13.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.6655, allocations: 4 kB / 0.6556 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6655, allocations: 0 / 0.6556 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.6679, allocations: 0.6806 MB / 0.6563 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.6682, allocations: 46.36 kB / 0.6563 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/0.6743, allocations: 3.921 MB / 0.6602 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.675, allocations: 75.64 kB / 0.6602 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.6751, allocations: 13.02 kB / 0.6603 GB, free: 8.949 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.0002755/0.6753, allocations: 119.8 kB / 0.6604 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003748/0.6791, allocations: 1.276 MB / 0.6616 GB, free: 7.535 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6793, allocations: 51.44 kB / 0.6617 GB, free: 7.484 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.683, allocations: 1.325 MB / 0.663 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.683, allocations: 4 kB / 0.663 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/0.683, allocations: 0 / 0.663 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.683, allocations: 0 / 0.663 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.6839, allocations: 0.5492 MB / 0.6635 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6839, allocations: 4 kB / 0.6635 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.6841, allocations: 31.92 kB / 0.6635 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.6863, allocations: 0.6824 MB / 0.6642 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.6863, allocations: 7.953 kB / 0.6642 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/0.6916, allocations: 3.908 MB / 0.668 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.6917, allocations: 0 / 0.668 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.6955, allocations: 1.325 MB / 0.6693 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.6957, allocations: 128.4 kB / 0.6694 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6958, allocations: 13.02 kB / 0.6695 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.6963, allocations: 51.95 kB / 0.6695 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.6966, allocations: 107.8 kB / 0.6696 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.6966, allocations: 10.5 kB / 0.6696 GB, free: 15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.697, allocations: 267 kB / 0.6699 GB, free: 14.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.697, allocations: 0 / 0.6699 GB, free: 14.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007761/0.6978, allocations: 175.6 kB / 0.67 GB, free: 14.57 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.003994/0.7018, allocations: 1.949 MB / 0.6719 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.7045, allocations: 1.167 MB / 0.6731 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7045, allocations: 0 / 0.6731 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.7067, allocations: 0.9516 MB / 0.674 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.7072, allocations: 26.09 kB / 0.674 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.7093, allocations: 0.7106 MB / 0.6747 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.7097, allocations: 0.8707 MB / 0.6756 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.7099, allocations: 27.28 kB / 0.6756 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.7101, allocations: 179.4 kB / 0.6758 GB, free: 8.453 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7101, allocations: 0 / 0.6758 GB, free: 8.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.7467, allocations: 11.59 MB / 0.6871 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.747, allocations: 119.5 kB / 0.6872 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.023, allocations: 3 kB / 0.6872 GB, free: 12.78 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)