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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 95.58 kB / 16.3 MB, free: 5.992 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.001771/0.001771, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.508/1.508, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004936/0.000494, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 47.59 MB / 327.7 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002517/0.2368, allocations: 2.14 MB / 329.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2381, allocations: 0.6876 MB / 330.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2383, allocations: 7.312 kB / 330.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.2384, allocations: 35.72 kB / 330.6 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.2386, allocations: 94.25 kB / 330.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2388, allocations: 82.67 kB / 330.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2392, allocations: 225.8 kB / 331 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2394, allocations: 65.47 kB / 331 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2396, allocations: 117.5 kB / 331.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.2398, allocations: 145.5 kB / 331.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2398, allocations: 15.94 kB / 331.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.2399, allocations: 16.09 kB / 331.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.24, allocations: 54.98 kB / 331.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.24, allocations: 73.67 kB / 331.4 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2403, allocations: 241.3 kB / 331.7 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2403, allocations: 1.312 kB / 331.7 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2403, allocations: 0 / 331.7 MB, free: 14.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2403, allocations: 0 / 331.7 MB, free: 14.6 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.001567/0.2419, allocations: 0.6117 MB / 332.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.242, allocations: 8.531 kB / 332.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.2421, allocations: 30.31 kB / 332.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.2424, allocations: 247.3 kB / 332.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.2425, allocations: 20.8 kB / 332.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.2426, allocations: 16.62 kB / 332.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.2433, allocations: 307.5 kB / 332.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2433, allocations: 0 / 332.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.2433, allocations: 14.81 kB / 332.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2434, allocations: 7.953 kB / 332.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.2442, allocations: 288.6 kB / 333.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.246, allocations: 1.076 MB / 334.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.248, allocations: 481.4 kB / 334.8 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2481, allocations: 6.203 kB / 334.8 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2481, allocations: 36.28 kB / 334.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.2481, allocations: 0 / 334.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.00494/0.2531, allocations: 1.129 MB / 335.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2531, allocations: 51.41 kB / 336 MB, free: 11.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2535, allocations: 220.2 kB / 336.2 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2535, allocations: 29.7 kB / 336.2 MB, free: 10.87 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2536, allocations: 156.1 kB / 336.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.2537, allocations: 47.3 kB / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.2537, allocations: 4 kB / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2538, allocations: 338.8 kB / 336.8 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.2542, allocations: 115.9 kB / 336.9 MB, free: 10.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2545, allocations: 137.5 kB / 337 MB, free: 10.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.2549, allocations: 122.7 kB / 337.1 MB, free: 9.949 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2549, allocations: 0 / 337.1 MB, free: 9.949 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002907/0.2578, allocations: 0.6853 MB / 337.8 MB, free: 9.254 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.2579, allocations: 11.94 kB / 337.8 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2579, allocations: 0 / 337.8 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/0.2588, allocations: 240.6 kB / 338 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.259, allocations: 35.98 kB / 338.1 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.2661, allocations: 2.681 MB / 340.8 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.2665, allocations: 43.91 kB / 340.8 MB, free: 6.109 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2666, allocations: 8 kB / 340.8 MB, free: 6.102 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.000226/0.2668, allocations: 133.8 kB / 340.9 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.2669, allocations: 19.8 kB / 341 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.2669, allocations: 17.53 kB / 341 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2669, allocations: 7.953 kB / 341 MB, free: 5.914 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.267, allocations: 4 kB / 341 MB, free: 5.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.267, allocations: 3.984 kB / 341 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.2674, allocations: 325.3 kB / 341.3 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2674, allocations: 0 / 341.3 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2676, allocations: 31.97 kB / 341.3 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006563/0.2682, allocations: 232.7 kB / 341.6 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2683, allocations: 8 kB / 341.6 MB, free: 5.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006622/0.2749, allocations: 2.673 MB / 344.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2749, allocations: 3.984 kB / 344.3 MB, free: 2.457 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.2781, allocations: 0.9098 MB / 345.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2782, allocations: 100.9 kB / 345.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.2783, allocations: 0 / 345.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.2786, allocations: 44.03 kB / 345.3 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2787, allocations: 7.984 kB / 345.3 MB, free: 1.359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.2787, allocations: 11.92 kB / 345.3 MB, free: 1.348 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.2788, allocations: 153.9 kB / 345.5 MB, free: 1.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2789, allocations: 4 kB / 345.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.2793, allocations: 75.84 kB / 345.6 MB, free: 1.121 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.0001528/0.2795, allocations: 107.2 kB / 345.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.281, allocations: 474.5 kB / 346.1 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.281, allocations: 0 / 346.1 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.2821, allocations: 350.5 kB / 346.5 MB, free: 176 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2824, allocations: 32.55 kB / 346.5 MB, free: 144 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2837, allocations: 0.6759 MB / 347.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.284, allocations: 0.7517 MB / 347.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.2841, allocations: 13.55 kB / 347.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.2842, allocations: 15.44 kB / 348 MB, free: 14.64 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2842, allocations: 0 / 348 MB, free: 14.64 MB / 286.1 MB Notification: Performance of Templates: time 0.007608/0.2918, allocations: 4.458 MB / 352.4 MB, free: 10.18 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: