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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7771/0.7771, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001808/0.001808, allocations: 152 kB / 143.7 MB, free: 4.883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.211e-06/6.241e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04356/0.04358, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.1763, allocations: 34.67 MB / 233.3 MB, free: 4.363 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.1765, allocations: 64.89 kB / 233.4 MB, free: 4.363 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01227/0.1888, allocations: 4.233 MB / 237.6 MB, free: 4.047 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1888, allocations: 7.75 kB / 237.6 MB, free: 4.047 MB / 170.7 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.0008456/0.1897, allocations: 0.5518 MB / 238.2 MB, free: 3.621 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1897, allocations: 7.75 kB / 238.2 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.1898, allocations: 31.12 kB / 238.2 MB, free: 3.605 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.19, allocations: 249.2 kB / 238.4 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.19, allocations: 10.56 kB / 238.4 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.1901, allocations: 11.75 kB / 238.5 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003018/0.1904, allocations: 164 kB / 238.6 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.1907, allocations: 223 kB / 238.8 MB, free: 3.316 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1907, allocations: 8 kB / 238.8 MB, free: 3.309 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1908, allocations: 0 / 238.8 MB, free: 3.309 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1908, allocations: 3.875 kB / 238.8 MB, free: 3.309 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.1922, allocations: 1.029 MB / 239.9 MB, free: 2.758 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.1936, allocations: 309 kB / 240.2 MB, free: 2.723 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1937, allocations: 93.45 kB / 240.3 MB, free: 2.715 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1938, allocations: 3.609 kB / 240.3 MB, free: 2.715 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.1938, allocations: 35.14 kB / 240.3 MB, free: 2.676 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1938, allocations: 7.984 kB / 240.3 MB, free: 2.668 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.002623/0.1964, allocations: 0.5343 MB / 240.8 MB, free: 2.594 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.1964, allocations: 51.41 kB / 240.9 MB, free: 2.531 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1966, allocations: 184.2 kB / 241.1 MB, free: 2.43 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1966, allocations: 25.7 kB / 241.1 MB, free: 2.398 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.1967, allocations: 139 kB / 241.2 MB, free: 2.289 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1967, allocations: 49 kB / 241.3 MB, free: 2.254 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.1968, allocations: 3.781 kB / 241.3 MB, free: 2.254 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.1968, allocations: 331.7 kB / 241.6 MB, free: 1.938 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1969, allocations: 53.08 kB / 241.7 MB, free: 1.938 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.197, allocations: 76.53 kB / 241.7 MB, free: 1.922 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1972, allocations: 63.84 kB / 241.8 MB, free: 1.914 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1972, allocations: 0 / 241.8 MB, free: 1.914 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002638/0.1998, allocations: 0.5443 MB / 242.3 MB, free: 1.844 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1998, allocations: 7.844 kB / 242.4 MB, free: 1.84 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1998, allocations: 4.5 kB / 242.4 MB, free: 1.836 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.2002, allocations: 134.9 kB / 242.5 MB, free: 1.824 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2004, allocations: 36.45 kB / 242.5 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.2052, allocations: 2.121 MB / 244.6 MB, free: 500 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.2056, allocations: 41.31 kB / 244.7 MB, free: 488 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2056, allocations: 8.812 kB / 244.7 MB, free: 488 kB / 170.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode_1.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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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.0001373/0.2058, allocations: 110.4 kB / 244.8 MB, free: 376 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.2058, allocations: 19.34 kB / 244.8 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.2059, allocations: 21.73 kB / 244.8 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2059, allocations: 4.344 kB / 244.8 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2059, allocations: 0 / 244.8 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2059, allocations: 0.6094 kB / 244.8 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.2063, allocations: 290.1 kB / 245.1 MB, free: 188 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2063, allocations: 0 / 245.1 MB, free: 188 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.2064, allocations: 42.44 kB / 245.2 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.2067, allocations: 132.9 kB / 245.3 MB, free: 128 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.2067, allocations: 7.562 kB / 245.3 MB, free: 124 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.2115, allocations: 2.114 MB / 247.4 MB, free: 14.61 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2115, allocations: 0 / 247.4 MB, free: 14.61 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002668/0.2142, allocations: 0.7232 MB / 248.1 MB, free: 14.32 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2143, allocations: 114.9 kB / 248.3 MB, free: 14.21 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.2143, allocations: 3.781 kB / 248.3 MB, free: 14.21 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.2147, allocations: 38.47 kB / 248.3 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.2147, allocations: 11.89 kB / 248.3 MB, free: 14.19 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2147, allocations: 7.734 kB / 248.3 MB, free: 14.19 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001114/0.2148, allocations: 138.9 kB / 248.5 MB, free: 14.11 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000456/0.2153, allocations: 79.06 kB / 248.5 MB, free: 14.1 MB / 186.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.0001554/0.2155, allocations: 110.4 kB / 248.6 MB, free: 14 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2166, allocations: 363.8 kB / 249 MB, free: 13.85 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2166, allocations: 0 / 249 MB, free: 13.85 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.2175, allocations: 281.8 kB / 249.3 MB, free: 13.71 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.2178, allocations: 41.72 kB / 249.3 MB, free: 13.7 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.2186, allocations: 355.2 kB / 249.7 MB, free: 13.49 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.219, allocations: 0.7721 MB / 250.4 MB, free: 12.74 MB / 186.7 MB Notification: Performance of SimCode: time 2.71e-07/0.219, allocations: 3.938 kB / 250.4 MB, free: 12.74 MB / 186.7 MB Notification: Performance of Templates: time 0.007609/0.2266, allocations: 4.119 MB / 254.6 MB, free: 10.61 MB / 186.7 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)