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/ModelicaServices 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/Complex 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00711/0.00711, allocations: 102.7 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 239.4 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4422/0.4422, allocations: 78.52 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 75.88 kB / 0.5531 GB, free: 1.484 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2906, allocations: 68.18 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003346/0.294, allocations: 3.653 MB / 0.6233 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2957, allocations: 1.094 MB / 0.6243 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.296, allocations: 15.94 kB / 0.6243 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.2963, allocations: 123 kB / 0.6245 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.2967, allocations: 202.5 kB / 0.6246 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.2976, allocations: 0.5163 MB / 0.6251 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.298, allocations: 0.642 MB / 0.6258 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2982, allocations: 161.8 kB / 0.6259 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.2984, allocations: 270.8 kB / 0.6262 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.2987, allocations: 318.5 kB / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.2988, allocations: 44 kB / 0.6265 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2989, allocations: 107.9 kB / 0.6266 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.299, allocations: 119.5 kB / 0.6268 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2992, allocations: 282.3 kB / 0.627 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.2997, allocations: 0.7145 MB / 0.6277 GB, free: 1.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2998, allocations: 0 / 0.6277 GB, free: 1.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2998, allocations: 0 / 0.6277 GB, free: 1.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2998, allocations: 0 / 0.6277 GB, free: 1.914 MB / 430.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.003044/0.3028, allocations: 1.233 MB / 0.6289 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3029, allocations: 12.03 kB / 0.6289 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.307e-05/0.303, allocations: 82.72 kB / 0.629 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.3046, allocations: 295.8 kB / 0.6293 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.3052, allocations: 441.6 kB / 0.6297 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.3054, allocations: 189.4 kB / 0.6299 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.3055, allocations: 44 kB / 0.6299 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3066, allocations: 0.5564 MB / 0.6305 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3066, allocations: 0 / 0.6305 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.3066, allocations: 16 kB / 0.6305 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3067, allocations: 15.98 kB / 0.6305 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.3077, allocations: 483.2 kB / 0.631 GB, free: 14.44 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.002735/0.3104, allocations: 2.078 MB / 0.633 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.3208, allocations: 2.057 MB / 0.635 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.3215, allocations: 278.3 kB / 0.6353 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.3216, allocations: 8 kB / 0.6353 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007304/0.3223, allocations: 367 kB / 0.6356 GB, free: 9.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/0.3224, allocations: 0 / 0.6356 GB, free: 9.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006724/0.3291, allocations: 2.206 MB / 0.6378 GB, free: 7.113 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3292, allocations: 81.11 kB / 0.6379 GB, free: 7.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.3297, allocations: 414 kB / 0.6383 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.3297, allocations: 33.7 kB / 0.6383 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3299, allocations: 284 kB / 0.6386 GB, free: 6.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3301, allocations: 130.1 kB / 0.6387 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.3302, allocations: 78.03 kB / 0.6388 GB, free: 6.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3304, allocations: 362.7 kB / 0.6391 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.331, allocations: 256.8 kB / 0.6394 GB, free: 5.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.3316, allocations: 306.8 kB / 0.6396 GB, free: 5.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3327, allocations: 0.5452 MB / 0.6402 GB, free: 4.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3327, allocations: 0 / 0.6402 GB, free: 4.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0039/0.3366, allocations: 1.343 MB / 0.6415 GB, free: 3.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3367, allocations: 4 kB / 0.6415 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3367, allocations: 0 / 0.6415 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.3392, allocations: 0.7175 MB / 0.6422 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3395, allocations: 39.92 kB / 0.6422 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/0.3466, allocations: 4.661 MB / 0.6468 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.3472, allocations: 71.69 kB / 0.6469 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.3472, allocations: 8.469 kB / 0.6469 GB, free: 13.45 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.0002472/0.3475, allocations: 169.7 kB / 0.647 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.3476, allocations: 43.44 kB / 0.6471 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.3515, allocations: 1.333 MB / 0.6484 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3515, allocations: 4 kB / 0.6484 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3515, allocations: 8 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3515, allocations: 3.938 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.3522, allocations: 0.6296 MB / 0.649 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3522, allocations: 3.938 kB / 0.649 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3524, allocations: 27.94 kB / 0.649 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/0.3547, allocations: 0.7096 MB / 0.6497 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.3548, allocations: 12 kB / 0.6497 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.3612, allocations: 4.614 MB / 0.6542 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3612, allocations: 4 kB / 0.6542 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.3652, allocations: 1.321 MB / 0.6555 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3653, allocations: 136.3 kB / 0.6557 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.3654, allocations: 12 kB / 0.6557 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.3658, allocations: 39.94 kB / 0.6557 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.366, allocations: 99.8 kB / 0.6558 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.3661, allocations: 12.25 kB / 0.6558 GB, free: 3.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.3664, allocations: 291.1 kB / 0.6561 GB, free: 3.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3664, allocations: 4 kB / 0.6561 GB, free: 3.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005734/0.367, allocations: 187.7 kB / 0.6563 GB, free: 3.371 MB / 462.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.004099/0.3711, allocations: 1.85 MB / 0.6581 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.3741, allocations: 1.289 MB / 0.6593 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3741, allocations: 0 / 0.6593 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.3764, allocations: 0.9983 MB / 0.6603 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.3768, allocations: 43.36 kB / 0.6604 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.3892, allocations: 5.925 MB / 0.6661 GB, free: 8.961 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3897, allocations: 0.859 MB / 0.667 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3898, allocations: 39.27 kB / 0.667 GB, free: 8.043 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.3901, allocations: 187.4 kB / 0.6672 GB, free: 7.863 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3901, allocations: 0 / 0.6672 GB, free: 7.863 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.4318, allocations: 14.24 MB / 0.6811 GB, free: 9.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.48, allocations: 6.812 kB / 0.6811 GB, free: 9.703 MB / 494.1 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/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)