Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_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.001365/0.001365, allocations: 180.9 kB / 7.65 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0007901/0.0007901, allocations: 88.34 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.555/0.555, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.851e-05, allocations: 3.938 kB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 69.35 MB / 0.5414 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.6378, allocations: 91.62 MB / 0.6309 GB, free: 8.008 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.6381, allocations: 72.62 kB / 0.631 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0287/0.6668, allocations: 11.1 MB / 0.6418 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6668, allocations: 5.031 kB / 0.6418 GB, free: 12.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.6669, allocations: 8 kB / 0.6418 GB, free: 12.94 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.00239/0.6692, allocations: 0.9941 MB / 0.6428 GB, free: 11.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6693, allocations: 8.031 kB / 0.6428 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6703, allocations: 215 kB / 0.643 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.6712, allocations: 455.9 kB / 0.6434 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.6714, allocations: 177.8 kB / 0.6436 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.6715, allocations: 24 kB / 0.6436 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006831/0.6722, allocations: 382.6 kB / 0.644 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.6729, allocations: 439.4 kB / 0.6444 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6729, allocations: 4.281 kB / 0.6444 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.673, allocations: 5.547 kB / 0.6444 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.673, allocations: 16 kB / 0.6444 GB, free: 10.13 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.002872/0.6759, allocations: 2.062 MB / 0.6464 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.6872, allocations: 2.664 MB / 0.649 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.6876, allocations: 206.3 kB / 0.6492 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.6877, allocations: 7.984 kB / 0.6492 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.6882, allocations: 291.5 kB / 0.6495 GB, free: 4.668 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.6882, allocations: 0 / 0.6495 GB, free: 4.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.00379/0.692, allocations: 1.288 MB / 0.6508 GB, free: 3.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.6921, allocations: 85.11 kB / 0.6509 GB, free: 3.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.6926, allocations: 337.3 kB / 0.6512 GB, free: 2.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.6927, allocations: 25.7 kB / 0.6512 GB, free: 2.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6929, allocations: 276 kB / 0.6515 GB, free: 2.625 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.693, allocations: 134 kB / 0.6516 GB, free: 2.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.6931, allocations: 0 / 0.6516 GB, free: 2.492 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6932, allocations: 371.4 kB / 0.652 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.6935, allocations: 188.9 kB / 0.6521 GB, free: 1.938 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.6938, allocations: 222.1 kB / 0.6523 GB, free: 1.715 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.6942, allocations: 197.5 kB / 0.6525 GB, free: 1.523 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6942, allocations: 0 / 0.6525 GB, free: 1.523 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003621/0.6978, allocations: 1.342 MB / 0.6538 GB, free: 168 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6978, allocations: 4 kB / 0.6538 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6979, allocations: 0 / 0.6538 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.7001, allocations: 0.683 MB / 0.6545 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.7003, allocations: 35.98 kB / 0.6545 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005/0.7054, allocations: 3.922 MB / 0.6584 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.706, allocations: 71.64 kB / 0.6584 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.7061, allocations: 19.39 kB / 0.6585 GB, free: 11.2 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.0002061/0.7063, allocations: 117.6 kB / 0.6586 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0035/0.7098, allocations: 1.281 MB / 0.6598 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.7099, allocations: 47.44 kB / 0.6599 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.7135, allocations: 1.332 MB / 0.6612 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.7135, allocations: 4 kB / 0.6612 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7135, allocations: 0 / 0.6612 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.7135, allocations: 0 / 0.6612 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.7143, allocations: 0.5522 MB / 0.6617 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7143, allocations: 0 / 0.6617 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.7145, allocations: 27.92 kB / 0.6617 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.7166, allocations: 0.6786 MB / 0.6624 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.7166, allocations: 7.953 kB / 0.6624 GB, free: 7.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00491/0.7216, allocations: 3.907 MB / 0.6662 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.7216, allocations: 4 kB / 0.6662 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.7253, allocations: 1.339 MB / 0.6675 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.7254, allocations: 129.2 kB / 0.6677 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.7255, allocations: 4 kB / 0.6677 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.726, allocations: 57.5 kB / 0.6677 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.7262, allocations: 103.8 kB / 0.6678 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.7263, allocations: 12 kB / 0.6678 GB, free: 1.234 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002996/0.7266, allocations: 259 kB / 0.6681 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7266, allocations: 0 / 0.6681 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006583/0.7273, allocations: 179.6 kB / 0.6683 GB, free: 0.8086 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.003777/0.731, allocations: 1.948 MB / 0.6702 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.7336, allocations: 1.166 MB / 0.6713 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7336, allocations: 4.062 kB / 0.6713 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.7358, allocations: 0.9361 MB / 0.6722 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.7362, allocations: 34.78 kB / 0.6722 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.738, allocations: 0.7153 MB / 0.6729 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.7384, allocations: 0.8707 MB / 0.6738 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.7386, allocations: 23.3 kB / 0.6738 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.7388, allocations: 183.4 kB / 0.674 GB, free: 10.69 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7388, allocations: 0 / 0.674 GB, free: 10.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.7709, allocations: 11.6 MB / 0.6853 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.7712, allocations: 122.9 kB / 0.6854 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.932, allocations: 0 / 0.6854 GB, free: 15.03 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)