Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.conf.json Using package ObjectStab with version 1.1 Dev (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002692/0.002696, allocations: 353.5 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.59/3.59, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003542/0.003542, allocations: 221.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo): time 0.0897/0.0897, allocations: 13.87 MB / 451.2 MB, free: 174.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006229/0.0006231, allocations: 8 kB / 0.4903 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07581, allocations: 40.44 MB / 0.5298 GB, free: 83.55 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Lineopen): time 0.01433/0.09023, allocations: 11.42 MB / 0.5409 GB, free: 72.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1016, allocations: 4.537 MB / 0.5454 GB, free: 67.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.1048, allocations: 35.88 kB / 0.5454 GB, free: 67.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.1073, allocations: 484.8 kB / 0.5459 GB, free: 67.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005201/0.1126, allocations: 1.029 MB / 0.5469 GB, free: 65.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007924/0.1206, allocations: 2.601 MB / 0.5494 GB, free: 63.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009233/0.1298, allocations: 5.995 MB / 0.5553 GB, free: 57.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.1326, allocations: 1.069 MB / 0.5563 GB, free: 56.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/0.1386, allocations: 2.48 MB / 0.5587 GB, free: 53.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007146/0.1458, allocations: 3.15 MB / 0.5618 GB, free: 50.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.1482, allocations: 280 kB / 0.5621 GB, free: 50.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.1504, allocations: 284 kB / 0.5624 GB, free: 50.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.1531, allocations: 1.059 MB / 0.5634 GB, free: 49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.1549, allocations: 0.6481 MB / 0.564 GB, free: 48.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.1615, allocations: 4.426 MB / 0.5683 GB, free: 43.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1615, allocations: 0 / 0.5683 GB, free: 43.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1616, allocations: 7.938 kB / 0.5684 GB, free: 43.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001927/0.1618, allocations: 0 / 0.5684 GB, free: 43.9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.03579/0.1976, allocations: 5.462 MB / 0.5737 GB, free: 38.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/0.1977, allocations: 11.97 kB / 0.5737 GB, free: 38.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.2006, allocations: 419 kB / 0.5741 GB, free: 37.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.2133, allocations: 2.758 MB / 0.5768 GB, free: 35.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005497/0.214, allocations: 379.8 kB / 0.5772 GB, free: 34.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.2157, allocations: 291.8 kB / 0.5774 GB, free: 34.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.229, allocations: 3.548 MB / 0.5809 GB, free: 30.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.2292, allocations: 0 / 0.5809 GB, free: 30.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007779/0.23, allocations: 100 kB / 0.581 GB, free: 30.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.23, allocations: 60 kB / 0.581 GB, free: 30.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.2444, allocations: 3.959 MB / 0.5849 GB, free: 26.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.2848, allocations: 11.99 MB / 0.5966 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.3035, allocations: 5.55 MB / 0.602 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006961/0.3105, allocations: 2.122 MB / 0.6041 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.3112, allocations: 58.56 kB / 0.6042 GB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007323/0.3185, allocations: 2.229 MB / 0.6063 GB, free: 4.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=335): time 9.578e-06/0.3186, allocations: 0 / 0.6063 GB, free: 4.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=477): time 0.8647/1.183, allocations: 50.11 MB / 0.6553 GB, free: 93.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.183, allocations: 409.5 kB / 0.6557 GB, free: 93.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.195, allocations: 3.062 MB / 0.6587 GB, free: 90.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001598/1.196, allocations: 109.7 kB / 0.6588 GB, free: 90.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.198, allocations: 1.266 MB / 0.66 GB, free: 89.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002789/1.201, allocations: 1.634 MB / 0.6616 GB, free: 87.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.202, allocations: 92 kB / 0.6617 GB, free: 87.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003246/1.202, allocations: 479.6 kB / 0.6622 GB, free: 87.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009986/1.212, allocations: 2.976 MB / 0.6651 GB, free: 84.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.223, allocations: 3.56 MB / 0.6685 GB, free: 80.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.234, allocations: 3.256 MB / 0.6717 GB, free: 77.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/1.234, allocations: 8 kB / 0.6717 GB, free: 77.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.1663/1.401, allocations: 16.87 MB / 0.6882 GB, free: 60.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.401, allocations: 8 kB / 0.6882 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.401, allocations: 4 kB / 0.6882 GB, free: 60.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1004/1.501, allocations: 11.16 MB / 0.6991 GB, free: 49.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/1.514, allocations: 1.748 MB / 0.7008 GB, free: 47.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5098/2.024, allocations: 64.79 MB / 0.7641 GB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.037, allocations: 469 kB / 0.7645 GB, free: 83.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/2.038, allocations: 163.1 kB / 0.7647 GB, free: 83.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(14,63.3%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.004063/2.042, allocations: 0.7847 MB / 0.7655 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/2.044, allocations: 367 kB / 0.7658 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1465/2.191, allocations: 15.88 MB / 0.7813 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000153/2.191, allocations: 23.62 kB / 0.7813 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/2.191, allocations: 0 / 0.7813 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004555/2.196, allocations: 1.228 MB / 0.7825 GB, free: 77.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002558/2.198, allocations: 124 kB / 0.7826 GB, free: 77.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01275/2.211, allocations: 446 kB / 0.7831 GB, free: 77.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003345/2.214, allocations: 0.5774 MB / 0.7836 GB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09752/2.312, allocations: 11.3 MB / 0.7947 GB, free: 74.03 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03931/2.351, allocations: 10.94 MB / 0.8053 GB, free: 69.06 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01033/2.362, allocations: 3.045 MB / 0.8083 GB, free: 67.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.009023/2.371, allocations: 2.226 MB / 0.8105 GB, free: 65.35 MB / 362.7 MB Notification: Performance of Backend: time 1.483e-06/2.371, allocations: 3.969 kB / 0.8105 GB, free: 65.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.04555/2.416, allocations: 9.005 MB / 0.8193 GB, free: 57.26 MB / 362.7 MB Notification: Performance of SimCode: time 0.01872/2.435, allocations: 10.68 MB / 0.8297 GB, free: 46.9 MB / 362.7 MB Notification: Performance of Templates: time 0.5404/2.976, allocations: 116.6 MB / 0.9436 GB, free: 75.59 MB / 378.7 MB