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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001116, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001264/0.001264, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004369/0.000437, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 47.58 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002217/0.241, allocations: 2.142 MB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2423, allocations: 0.6911 MB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2424, allocations: 4.438 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.2425, allocations: 31.02 kB / 329.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.2427, allocations: 99.45 kB / 329.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.243, allocations: 69.09 kB / 329.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.2433, allocations: 237.5 kB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.2436, allocations: 63.06 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.2438, allocations: 124.1 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.244, allocations: 143 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.244, allocations: 14.59 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.2441, allocations: 16.06 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.2442, allocations: 54.98 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.2442, allocations: 70.05 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2445, allocations: 241.5 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2445, allocations: 0 / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2445, allocations: 1.375 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2445, allocations: 0 / 330.4 MB, free: 14.36 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.001319/0.2458, allocations: 0.6105 MB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2459, allocations: 9.188 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.2459, allocations: 30.81 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.2462, allocations: 254.8 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2463, allocations: 24.78 kB / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.2463, allocations: 16.84 kB / 331.4 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.247, allocations: 306.8 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.247, allocations: 0 / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.2471, allocations: 10.22 kB / 331.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2471, allocations: 5.156 kB / 331.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.2479, allocations: 292.8 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2496, allocations: 1.076 MB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.2515, allocations: 485.7 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2515, allocations: 5.047 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2516, allocations: 33.12 kB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2516, allocations: 4 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.004791/0.2564, allocations: 1.128 MB / 334.7 MB, free: 11.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2564, allocations: 51.41 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.2567, allocations: 216.2 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2567, allocations: 29.7 kB / 335 MB, free: 10.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2568, allocations: 156.1 kB / 335.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.2569, allocations: 47.3 kB / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.2569, allocations: 4 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.257, allocations: 330.8 kB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2574, allocations: 115.9 kB / 335.6 MB, free: 10.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.2577, allocations: 137.5 kB / 335.7 MB, free: 9.945 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.2581, allocations: 126.6 kB / 335.9 MB, free: 9.824 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2581, allocations: 0 / 335.9 MB, free: 9.824 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002858/0.2609, allocations: 0.6892 MB / 336.6 MB, free: 9.125 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.261, allocations: 4 kB / 336.6 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.261, allocations: 0 / 336.6 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.2618, allocations: 236.7 kB / 336.8 MB, free: 8.887 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.262, allocations: 35.97 kB / 336.8 MB, free: 8.852 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/0.2688, allocations: 2.685 MB / 339.5 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.2691, allocations: 43.84 kB / 339.6 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2692, allocations: 4 kB / 339.6 MB, free: 5.984 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 (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.0001783/0.2694, allocations: 137.8 kB / 339.7 MB, free: 5.84 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.2694, allocations: 19.8 kB / 339.7 MB, free: 5.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.2695, allocations: 21.53 kB / 339.7 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2695, allocations: 7.953 kB / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2695, allocations: 0 / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2695, allocations: 0 / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2699, allocations: 325.3 kB / 340.1 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2699, allocations: 0 / 340.1 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.27, allocations: 35.97 kB / 340.1 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006374/0.2707, allocations: 232.7 kB / 340.3 MB, free: 5.156 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2707, allocations: 0 / 340.3 MB, free: 5.156 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/0.2771, allocations: 2.677 MB / 343 MB, free: 2.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2772, allocations: 3.938 kB / 343 MB, free: 2.34 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.2804, allocations: 0.9176 MB / 343.9 MB, free: 1.402 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.2805, allocations: 92.95 kB / 344 MB, free: 1.293 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.2806, allocations: 7.984 kB / 344 MB, free: 1.285 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.2809, allocations: 35.97 kB / 344.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.2809, allocations: 12.05 kB / 344.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.281, allocations: 19.86 kB / 344.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2811, allocations: 149.9 kB / 344.2 MB, free: 1.074 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2811, allocations: 0 / 344.2 MB, free: 1.074 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.2816, allocations: 83.84 kB / 344.3 MB, free: 0.9922 MB / 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 (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.0001218/0.2817, allocations: 95.25 kB / 344.4 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2832, allocations: 479 kB / 344.9 MB, free: 416 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2832, allocations: 0 / 344.9 MB, free: 416 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.2843, allocations: 354.6 kB / 345.2 MB, free: 48 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.2846, allocations: 44.48 kB / 345.3 MB, free: 4 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2859, allocations: 0.6595 MB / 345.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2862, allocations: 0.7517 MB / 346.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.2863, allocations: 13.55 kB / 346.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.2863, allocations: 19.44 kB / 346.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of SimCode: time 1.713e-06/0.2863, allocations: 0 / 346.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Templates: time 0.007753/0.2941, allocations: 4.458 MB / 351.2 MB, free: 10.06 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: