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.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001226/0.001226, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2821, allocations: 46.64 MB / 325.3 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003803/0.286, allocations: 2.671 MB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2875, allocations: 0.7084 MB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2877, allocations: 3.219 kB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2879, allocations: 48.28 kB / 328.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.2881, allocations: 72.25 kB / 328.8 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2885, allocations: 110.3 kB / 328.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.2889, allocations: 356.3 kB / 329.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2891, allocations: 83.55 kB / 329.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.2894, allocations: 139.9 kB / 329.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2896, allocations: 158.9 kB / 329.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.2897, allocations: 30.5 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.2897, allocations: 33.88 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.2898, allocations: 67.03 kB / 329.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.29, allocations: 147.2 kB / 329.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.2905, allocations: 344.7 kB / 330.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2905, allocations: 0 / 330.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2905, allocations: 4.781 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2905, allocations: 0 / 330.3 MB, free: 14.05 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.001505/0.292, allocations: 0.6355 MB / 330.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2921, allocations: 9.906 kB / 330.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.2921, allocations: 30.91 kB / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2925, allocations: 257.1 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2925, allocations: 16.44 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.2926, allocations: 17.25 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.2933, allocations: 302.1 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2933, allocations: 3.938 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.2934, allocations: 10.59 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.2934, allocations: 5.281 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.2942, allocations: 268.2 kB / 331.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.2961, allocations: 1.072 MB / 332.9 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.2982, allocations: 434.6 kB / 333.3 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.2986, allocations: 156.7 kB / 333.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2987, allocations: 7.969 kB / 333.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2987, allocations: 34.5 kB / 333.5 MB, free: 11.53 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.2987, allocations: 0 / 333.5 MB, free: 11.53 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.004836/0.3036, allocations: 1.022 MB / 334.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3036, allocations: 55.41 kB / 334.6 MB, free: 10.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3039, allocations: 216.2 kB / 334.8 MB, free: 10.19 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3039, allocations: 29.7 kB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.304, allocations: 160.1 kB / 334.9 MB, free: 9.992 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.3041, allocations: 51.28 kB / 335 MB, free: 9.941 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.3042, allocations: 37.61 kB / 335 MB, free: 9.898 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3043, allocations: 334.8 kB / 335.4 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.3046, allocations: 99.94 kB / 335.5 MB, free: 9.465 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.305, allocations: 129.6 kB / 335.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.3057, allocations: 224.6 kB / 335.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3057, allocations: 0 / 335.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00279/0.3085, allocations: 0.6344 MB / 336.4 MB, free: 8.465 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3085, allocations: 4 kB / 336.4 MB, free: 8.461 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3085, allocations: 4 kB / 336.4 MB, free: 8.457 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/0.3093, allocations: 220.6 kB / 336.7 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3095, allocations: 35.97 kB / 336.7 MB, free: 8.203 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.3162, allocations: 2.735 MB / 339.4 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3166, allocations: 35.84 kB / 339.5 MB, free: 5.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3166, allocations: 8 kB / 339.5 MB, free: 5.285 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.000168/0.3168, allocations: 141.8 kB / 339.6 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.3169, allocations: 27.66 kB / 339.6 MB, free: 5.109 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.3169, allocations: 21.53 kB / 339.7 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3169, allocations: 3.938 kB / 339.7 MB, free: 5.082 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3169, allocations: 4 kB / 339.7 MB, free: 5.078 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.317, allocations: 3.984 kB / 339.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.3173, allocations: 321.3 kB / 340 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3173, allocations: 96 / 340 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3175, allocations: 39.91 kB / 340 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.3182, allocations: 224.6 kB / 340.2 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3182, allocations: 0 / 340.2 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/0.3248, allocations: 2.735 MB / 343 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3248, allocations: 0 / 343 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.3282, allocations: 0.8511 MB / 343.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3284, allocations: 92.89 kB / 343.9 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3284, allocations: 4 kB / 343.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3287, allocations: 31.97 kB / 344 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3288, allocations: 7.984 kB / 344 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3288, allocations: 16.05 kB / 344 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3289, allocations: 153.6 kB / 344.1 MB, free: 396 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 0 / 344.1 MB, free: 396 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.3294, allocations: 83.84 kB / 344.2 MB, free: 312 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.0001627/0.3296, allocations: 107.7 kB / 344.3 MB, free: 192 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3312, allocations: 462.2 kB / 344.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3312, allocations: 0 / 344.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3323, allocations: 326.6 kB / 345.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3327, allocations: 39 kB / 345.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3341, allocations: 0.5613 MB / 345.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3344, allocations: 0.7437 MB / 346.4 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.3345, allocations: 13.56 kB / 346.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3345, allocations: 19.42 kB / 346.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3345, allocations: 0 / 346.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of Templates: time 0.008581/0.3431, allocations: 4.937 MB / 351.4 MB, free: 9.027 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)