Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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/Complex 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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB 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: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3044, allocations: 46.63 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004388/0.3088, allocations: 2.717 MB / 327.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3104, allocations: 0.7002 MB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3106, allocations: 4.062 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.3108, allocations: 39.53 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.311, allocations: 64.06 kB / 328.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.3113, allocations: 90.39 kB / 328.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.3117, allocations: 356.9 kB / 328.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.312, allocations: 91.7 kB / 328.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.3122, allocations: 132.6 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.3125, allocations: 162.2 kB / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.3125, allocations: 29.84 kB / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.3126, allocations: 30.59 kB / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.3127, allocations: 78.86 kB / 329.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3128, allocations: 138.8 kB / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3132, allocations: 344.9 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3132, allocations: 1.156 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3132, allocations: 0 / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3132, allocations: 0 / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001642/0.3149, allocations: 0.64 MB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3149, allocations: 9.312 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.315, allocations: 30.88 kB / 330.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3154, allocations: 257 kB / 330.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3154, allocations: 16.78 kB / 330.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.3154, allocations: 24.86 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.3161, allocations: 302 kB / 331.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3161, allocations: 0 / 331.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.3162, allocations: 10.16 kB / 331.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3162, allocations: 5.719 kB / 331.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.3169, allocations: 268.7 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3187, allocations: 1.067 MB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3206, allocations: 444.8 kB / 332.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.321, allocations: 144.8 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3211, allocations: 0 / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3211, allocations: 38.56 kB / 333 MB, free: 11.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.3211, allocations: 0 / 333 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.004785/0.3259, allocations: 1.026 MB / 334 MB, free: 10.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.326, allocations: 51.41 kB / 334.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3263, allocations: 216.2 kB / 334.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.3263, allocations: 25.7 kB / 334.3 MB, free: 10.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3265, allocations: 164.1 kB / 334.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.3265, allocations: 47.3 kB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.3266, allocations: 41.55 kB / 334.6 MB, free: 10.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3268, allocations: 330.8 kB / 334.9 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.3271, allocations: 107.9 kB / 335 MB, free: 9.656 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.3275, allocations: 132.5 kB / 335.1 MB, free: 9.523 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.3281, allocations: 225.6 kB / 335.4 MB, free: 9.297 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3281, allocations: 0 / 335.4 MB, free: 9.297 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002796/0.3309, allocations: 0.6305 MB / 336 MB, free: 8.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.331, allocations: 8 kB / 336 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.331, allocations: 0 / 336 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007446/0.3317, allocations: 216.7 kB / 336.2 MB, free: 8.434 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3319, allocations: 35.91 kB / 336.2 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.3386, allocations: 2.751 MB / 339 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.339, allocations: 35.81 kB / 339 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.339, allocations: 4 kB / 339 MB, free: 5.469 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.3392, allocations: 133.8 kB / 339.2 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.3393, allocations: 27.77 kB / 339.2 MB, free: 5.301 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3393, allocations: 25.53 kB / 339.2 MB, free: 5.273 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3393, allocations: 0 / 339.2 MB, free: 5.273 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3393, allocations: 3.938 kB / 339.2 MB, free: 5.27 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3394, allocations: 3.984 kB / 339.2 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.3397, allocations: 325.3 kB / 339.5 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3397, allocations: 0 / 339.5 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3399, allocations: 35.91 kB / 339.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/0.3405, allocations: 216.7 kB / 339.8 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3406, allocations: 4 kB / 339.8 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006656/0.3472, allocations: 2.731 MB / 342.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3473, allocations: 0 / 342.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.3506, allocations: 0.8512 MB / 343.4 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3507, allocations: 96.89 kB / 343.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.3508, allocations: 4 kB / 343.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.3511, allocations: 31.97 kB / 343.5 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3512, allocations: 15.98 kB / 343.5 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3512, allocations: 3.984 kB / 343.5 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3514, allocations: 165.7 kB / 343.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3514, allocations: 0 / 343.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.3519, allocations: 75.84 kB / 343.8 MB, free: 0.5 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.3521, allocations: 115.1 kB / 343.9 MB, free: 384 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3537, allocations: 461.2 kB / 344.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3537, allocations: 0 / 344.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.3548, allocations: 330.5 kB / 344.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3552, allocations: 24.66 kB / 344.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3565, allocations: 0.6554 MB / 345.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3569, allocations: 0.7398 MB / 346.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.357, allocations: 13.55 kB / 346.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.357, allocations: 15.44 kB / 346.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.357, allocations: 4 kB / 346.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Templates: time 0.008451/0.3655, allocations: 4.897 MB / 351 MB, free: 9.18 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)