Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001001/0.001001, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.572/1.572, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001655/0.001656, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.429e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08714, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4064, allocations: 73.12 MB / 422.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4067, allocations: 70.06 kB / 422.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.4188, allocations: 4.699 MB / 427.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4188, allocations: 7.844 kB / 427.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.4189, allocations: 3.938 kB / 427.3 MB, free: 9.68 MB / 298.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.0007486/0.4196, allocations: 0.5289 MB / 427.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4197, allocations: 11.38 kB / 427.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4197, allocations: 34.95 kB / 427.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.4199, allocations: 246.7 kB / 428.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.42, allocations: 13.88 kB / 428.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.42, allocations: 26.03 kB / 428.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.4204, allocations: 268 kB / 428.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4204, allocations: 0 / 428.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.4204, allocations: 10.72 kB / 428.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4204, allocations: 3.75 kB / 428.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.4207, allocations: 185 kB / 428.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4221, allocations: 1.263 MB / 429.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4233, allocations: 337.6 kB / 430.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.4234, allocations: 104.2 kB / 430.3 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4235, allocations: 11.78 kB / 430.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.4235, allocations: 34.25 kB / 430.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4235, allocations: 0 / 430.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0024/0.4259, allocations: 0.5204 MB / 430.9 MB, free: 7.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4259, allocations: 51.41 kB / 431 MB, free: 7.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4261, allocations: 197.8 kB / 431.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4261, allocations: 32.83 kB / 431.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.4262, allocations: 176.5 kB / 431.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.4262, allocations: 45.67 kB / 431.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.4262, allocations: 3.438 kB / 431.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.4263, allocations: 333.1 kB / 431.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4264, allocations: 60.47 kB / 431.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4265, allocations: 91.52 kB / 431.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.4266, allocations: 73.78 kB / 431.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4267, allocations: 0 / 431.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002184/0.4288, allocations: 0.5563 MB / 432.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4289, allocations: 11.12 kB / 432.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4289, allocations: 0 / 432.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.4292, allocations: 141.2 kB / 432.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.4293, allocations: 38.59 kB / 432.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.4335, allocations: 2.198 MB / 434.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4337, allocations: 46.16 kB / 434.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.4338, allocations: 7.688 kB / 434.9 MB, free: 5.035 MB / 298.7 MB 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 6.702e-05/0.4338, allocations: 108.2 kB / 435 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.4339, allocations: 19.34 kB / 435.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.434, allocations: 24.61 kB / 435.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.434, allocations: 3.844 kB / 435.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.434, allocations: 4 kB / 435.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.434, allocations: 3.953 kB / 435.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4343, allocations: 324.5 kB / 435.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4343, allocations: 3.812 kB / 435.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.4344, allocations: 42.91 kB / 435.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.4346, allocations: 138.8 kB / 435.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4347, allocations: 3.438 kB / 435.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/0.4385, allocations: 2.177 MB / 437.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4386, allocations: 0 / 437.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.4408, allocations: 0.7158 MB / 438.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4409, allocations: 96.58 kB / 438.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4409, allocations: 7.188 kB / 438.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.4412, allocations: 38.53 kB / 438.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.4412, allocations: 11.77 kB / 438.6 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4412, allocations: 7.828 kB / 438.7 MB, free: 2.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4413, allocations: 164.7 kB / 438.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4413, allocations: 0 / 438.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000389/0.4417, allocations: 88.66 kB / 438.9 MB, free: 2.516 MB / 298.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.000124/0.4419, allocations: 101.8 kB / 439 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4429, allocations: 390 kB / 439.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4429, allocations: 0 / 439.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.4437, allocations: 311.5 kB / 439.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.444, allocations: 38.95 kB / 439.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.4447, allocations: 359.9 kB / 440.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.4448, allocations: 0.7534 MB / 440.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.4449, allocations: 17.17 kB / 440.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.445, allocations: 18.97 kB / 440.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.445, allocations: 3.938 kB / 440.9 MB, free: 1.133 MB / 298.7 MB Notification: Performance of Templates: time 0.007037/0.452, allocations: 4.508 MB / 445.4 MB, free: 14.76 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)