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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001158/0.001158, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.301/1.301, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.059e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09593, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4089, allocations: 67.34 MB / 368.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4092, allocations: 74.14 kB / 368.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01314/0.4224, allocations: 4.727 MB / 373.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4224, allocations: 0 / 373.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.4224, allocations: 8 kB / 373.1 MB, free: 13 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008696/0.4233, allocations: 0.5377 MB / 373.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4234, allocations: 8.031 kB / 373.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.4234, allocations: 31.62 kB / 373.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.4237, allocations: 253.2 kB / 373.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4238, allocations: 8 kB / 374 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.4238, allocations: 12 kB / 374 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003066/0.4241, allocations: 172.2 kB / 374.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.4245, allocations: 232.6 kB / 374.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4245, allocations: 8.734 kB / 374.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.4246, allocations: 0 / 374.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4246, allocations: 8 kB / 374.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.4263, allocations: 1.208 MB / 375.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.4275, allocations: 330.2 kB / 375.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4277, allocations: 106.7 kB / 376 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4277, allocations: 2.516 kB / 376 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4278, allocations: 34.56 kB / 376 MB, free: 10.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.4278, allocations: 0 / 376 MB, free: 10.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.002285/0.4301, allocations: 0.5109 MB / 376.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4301, allocations: 55.41 kB / 376.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4303, allocations: 186.9 kB / 376.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4304, allocations: 29.64 kB / 376.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.4305, allocations: 170 kB / 377 MB, free: 9.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.4305, allocations: 38.55 kB / 377 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.4305, allocations: 4 kB / 377 MB, free: 9.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4306, allocations: 333.8 kB / 377.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4308, allocations: 59.3 kB / 377.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4309, allocations: 92.72 kB / 377.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.431, allocations: 68.69 kB / 377.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.431, allocations: 0 / 377.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002217/0.4332, allocations: 0.5324 MB / 378.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4333, allocations: 8 kB / 378.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4333, allocations: 8 kB / 378.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.4336, allocations: 136.6 kB / 378.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4338, allocations: 39.94 kB / 378.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/0.438, allocations: 2.098 MB / 380.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4383, allocations: 39.84 kB / 380.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.4384, allocations: 17.16 kB / 380.4 MB, free: 6.23 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.4385, allocations: 109.1 kB / 380.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.4386, allocations: 27.61 kB / 380.6 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.4386, allocations: 25.64 kB / 380.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4387, allocations: 0 / 380.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4387, allocations: 0 / 380.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4387, allocations: 0 / 380.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.439, allocations: 282.6 kB / 380.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.439, allocations: 4 kB / 380.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.4392, allocations: 35.86 kB / 380.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.4394, allocations: 132.4 kB / 381 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4395, allocations: 3.953 kB / 381.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.4437, allocations: 2.128 MB / 383.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4437, allocations: 0 / 383.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.4461, allocations: 0.699 MB / 383.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4462, allocations: 118.6 kB / 384 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.4462, allocations: 0 / 384 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.4465, allocations: 40.03 kB / 384 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4466, allocations: 18.92 kB / 384.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4466, allocations: 7.938 kB / 384.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4467, allocations: 149.1 kB / 384.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4467, allocations: 0 / 384.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.4472, allocations: 75.84 kB / 384.3 MB, free: 2.641 MB / 266.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.4474, allocations: 103.2 kB / 384.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.4484, allocations: 357.3 kB / 384.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4485, allocations: 0 / 384.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008598/0.4493, allocations: 309.6 kB / 385 MB, free: 1.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4496, allocations: 23.11 kB / 385.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.4505, allocations: 363.4 kB / 385.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4508, allocations: 0.7514 MB / 386.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.764e-05/0.4509, allocations: 17.31 kB / 386.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.451, allocations: 15.44 kB / 386.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of SimCode: time 2.1e-07/0.451, allocations: 0 / 386.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of Templates: time 0.007645/0.4586, allocations: 3.918 MB / 390.1 MB, free: 12.87 MB / 282.7 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)