Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008318/0.0008318, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008038/0.008038, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0007202/0.0007203, allocations: 15.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2677, allocations: 47.59 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002228/0.27, allocations: 2.352 MB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2712, allocations: 0.6988 MB / 330.1 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2713, allocations: 4.656 kB / 330.1 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2714, allocations: 31.33 kB / 330.1 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.2716, allocations: 63.66 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.2719, allocations: 86.05 kB / 330.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.2722, allocations: 346.1 kB / 330.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.2724, allocations: 75.02 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.2726, allocations: 118.5 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2728, allocations: 146.1 kB / 330.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2729, allocations: 15.09 kB / 330.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.2729, allocations: 16.28 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.273, allocations: 54.47 kB / 331 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.2731, allocations: 152.3 kB / 331.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2734, allocations: 320.7 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2734, allocations: 0 / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2735, allocations: 1.312 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2735, allocations: 0 / 331.5 MB, free: 14.01 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.001321/0.2748, allocations: 0.6125 MB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2748, allocations: 9.281 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.2749, allocations: 27.19 kB / 332.1 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2752, allocations: 261.3 kB / 332.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2752, allocations: 20.27 kB / 332.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.2753, allocations: 25.62 kB / 332.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.276, allocations: 314.8 kB / 332.7 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.276, allocations: 0 / 332.7 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.276, allocations: 5.656 kB / 332.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.276, allocations: 5.469 kB / 332.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.2768, allocations: 289.8 kB / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2785, allocations: 1.072 MB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.2804, allocations: 497.9 kB / 334.6 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.2808, allocations: 156.8 kB / 334.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2808, allocations: 0 / 334.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2809, allocations: 38.56 kB / 334.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2809, allocations: 0 / 334.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.004924/0.2858, allocations: 1.131 MB / 335.9 MB, free: 10.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2859, allocations: 51.41 kB / 336 MB, free: 10.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2861, allocations: 212.2 kB / 336.2 MB, free: 9.969 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.2861, allocations: 29.7 kB / 336.2 MB, free: 9.934 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2863, allocations: 156.2 kB / 336.3 MB, free: 9.777 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.2863, allocations: 55.19 kB / 336.4 MB, free: 9.723 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.2864, allocations: 21.72 kB / 336.4 MB, free: 9.695 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.2866, allocations: 334.8 kB / 336.7 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2869, allocations: 107.9 kB / 336.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.2873, allocations: 137.6 kB / 337 MB, free: 9.113 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.288, allocations: 248.3 kB / 337.2 MB, free: 8.867 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.288, allocations: 4 kB / 337.2 MB, free: 8.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002857/0.2909, allocations: 0.6891 MB / 337.9 MB, free: 8.164 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2909, allocations: 4 kB / 337.9 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.291, allocations: 0 / 337.9 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/0.2917, allocations: 232.7 kB / 338.2 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2919, allocations: 39.97 kB / 338.2 MB, free: 7.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.2983, allocations: 2.603 MB / 340.8 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.2987, allocations: 47.83 kB / 340.8 MB, free: 5.105 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2987, allocations: 7.984 kB / 340.9 MB, free: 5.098 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.0001615/0.2989, allocations: 129.8 kB / 341 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.2989, allocations: 27.66 kB / 341 MB, free: 4.934 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.299, allocations: 25.52 kB / 341 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.299, allocations: 0 / 341 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.299, allocations: 0 / 341 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.299, allocations: 8 kB / 341 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.2994, allocations: 325.3 kB / 341.4 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2994, allocations: 4 kB / 341.4 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.2996, allocations: 31.92 kB / 341.4 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.3003, allocations: 236.6 kB / 341.6 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3003, allocations: 0 / 341.6 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006233/0.3065, allocations: 2.599 MB / 344.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3066, allocations: 4.156 kB / 344.2 MB, free: 1.523 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.3097, allocations: 0.914 MB / 345.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.3098, allocations: 104.8 kB / 345.2 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3099, allocations: 3.938 kB / 345.2 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.3102, allocations: 39.97 kB / 345.3 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3102, allocations: 7.984 kB / 345.3 MB, free: 428 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3102, allocations: 8.062 kB / 345.3 MB, free: 420 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3104, allocations: 161.6 kB / 345.5 MB, free: 260 kB / 270.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3104, allocations: 0 / 345.5 MB, free: 260 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.3109, allocations: 79.84 kB / 345.5 MB, free: 180 kB / 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.0001298/0.311, allocations: 107.1 kB / 345.6 MB, free: 60 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.3125, allocations: 482.4 kB / 346.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3125, allocations: 0 / 346.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3136, allocations: 354.6 kB / 346.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.314, allocations: 30.84 kB / 346.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3153, allocations: 0.6946 MB / 347.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3156, allocations: 0.744 MB / 347.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.126e-05/0.3157, allocations: 9.562 kB / 347.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.3157, allocations: 19.42 kB / 348 MB, free: 13.68 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3157, allocations: 0 / 348 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Templates: time 0.008481/0.3242, allocations: 4.601 MB / 352.6 MB, free: 9.07 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)