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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08252/0.08252, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 111.4 kB / 31.83 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 179.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4212/0.4212, allocations: 78.52 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002486, allocations: 138.4 kB / 0.5553 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1093, allocations: 68.13 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004114/0.1135, allocations: 3.668 MB / 0.6254 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1154, allocations: 1.146 MB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1156, allocations: 8 kB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.116, allocations: 123 kB / 0.6267 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1163, allocations: 206.5 kB / 0.6269 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009959/0.1173, allocations: 0.5178 MB / 0.6274 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.1179, allocations: 0.6497 MB / 0.628 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.1182, allocations: 153.9 kB / 0.6282 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1185, allocations: 270.8 kB / 0.6284 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.1189, allocations: 314.5 kB / 0.6287 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.1189, allocations: 44 kB / 0.6288 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1191, allocations: 111.9 kB / 0.6289 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.1192, allocations: 123.4 kB / 0.629 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.1194, allocations: 282.3 kB / 0.6293 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.12, allocations: 0.7098 MB / 0.63 GB, free: 7.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1201, allocations: 0 / 0.63 GB, free: 7.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1201, allocations: 0 / 0.63 GB, free: 7.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1201, allocations: 0 / 0.63 GB, free: 7.625 MB / 446.1 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.002987/0.1231, allocations: 1.24 MB / 0.6312 GB, free: 6.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1231, allocations: 11.98 kB / 0.6312 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1233, allocations: 90.7 kB / 0.6313 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.1248, allocations: 280 kB / 0.6315 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.1254, allocations: 445.7 kB / 0.632 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.1255, allocations: 189.4 kB / 0.6321 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.1256, allocations: 40 kB / 0.6322 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.1266, allocations: 0.5603 MB / 0.6327 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1266, allocations: 0 / 0.6327 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.1267, allocations: 16 kB / 0.6327 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1267, allocations: 12 kB / 0.6328 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.1276, allocations: 483.2 kB / 0.6332 GB, free: 4.148 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002516/0.1302, allocations: 2.089 MB / 0.6353 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009581/0.1398, allocations: 2.05 MB / 0.6373 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.1403, allocations: 273.6 kB / 0.6375 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.1404, allocations: 11.98 kB / 0.6375 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006643/0.1411, allocations: 363.8 kB / 0.6379 GB, free: 15.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.1411, allocations: 0 / 0.6379 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006155/0.1472, allocations: 2.205 MB / 0.64 GB, free: 12.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1473, allocations: 81.11 kB / 0.6401 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1478, allocations: 414 kB / 0.6405 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.1478, allocations: 33.7 kB / 0.6405 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.148, allocations: 276 kB / 0.6408 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.1481, allocations: 134 kB / 0.6409 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1483, allocations: 74.12 kB / 0.641 GB, free: 11.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1484, allocations: 366.7 kB / 0.6413 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.149, allocations: 260.7 kB / 0.6416 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.1495, allocations: 302.7 kB / 0.6419 GB, free: 10.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.1506, allocations: 0.5505 MB / 0.6424 GB, free: 10.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1506, allocations: 0 / 0.6424 GB, free: 10.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003693/0.1543, allocations: 1.335 MB / 0.6437 GB, free: 8.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.1543, allocations: 11.94 kB / 0.6437 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1543, allocations: 3.938 kB / 0.6437 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.1567, allocations: 0.7174 MB / 0.6444 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1569, allocations: 39.92 kB / 0.6445 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.1632, allocations: 4.66 MB / 0.649 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.1637, allocations: 63.7 kB / 0.6491 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1637, allocations: 16 kB / 0.6491 GB, free: 3.148 MB / 462.1 MB 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.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.164, allocations: 169.8 kB / 0.6493 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.1641, allocations: 47.44 kB / 0.6493 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.1678, allocations: 1.323 MB / 0.6506 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.1678, allocations: 4 kB / 0.6506 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1678, allocations: 0 / 0.6506 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1678, allocations: 7.984 kB / 0.6506 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1685, allocations: 0.618 MB / 0.6512 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1685, allocations: 0 / 0.6512 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1686, allocations: 27.98 kB / 0.6512 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.1709, allocations: 0.7174 MB / 0.6519 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.1709, allocations: 4 kB / 0.652 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/0.177, allocations: 4.622 MB / 0.6565 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.177, allocations: 0 / 0.6565 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.1809, allocations: 1.33 MB / 0.6578 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.181, allocations: 128.5 kB / 0.6579 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.1811, allocations: 8 kB / 0.6579 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.1815, allocations: 43.95 kB / 0.6579 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.1817, allocations: 103.8 kB / 0.658 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.1818, allocations: 12 kB / 0.658 GB, free: 9.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.1821, allocations: 295.1 kB / 0.6583 GB, free: 9.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1821, allocations: 3.938 kB / 0.6583 GB, free: 9.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006347/0.1828, allocations: 179.7 kB / 0.6585 GB, free: 9.102 MB / 478.1 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003946/0.1867, allocations: 1.857 MB / 0.6603 GB, free: 7.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.1896, allocations: 1.3 MB / 0.6616 GB, free: 5.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1896, allocations: 0 / 0.6616 GB, free: 5.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.1917, allocations: 1.001 MB / 0.6626 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1921, allocations: 37.97 kB / 0.6626 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.2036, allocations: 5.909 MB / 0.6684 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2041, allocations: 0.8551 MB / 0.6692 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.2042, allocations: 43.2 kB / 0.6692 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.2045, allocations: 183.4 kB / 0.6694 GB, free: 13.59 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2045, allocations: 0 / 0.6694 GB, free: 13.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.2417, allocations: 14.27 MB / 0.6834 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.23, allocations: 19.3 kB / 0.6834 GB, free: 15.33 MB / 0.4981 GB (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/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)