Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2306, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.00433/0.235, allocations: 2.892 MB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2367, allocations: 0.8923 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.237, allocations: 4 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.2373, allocations: 55.39 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.2377, allocations: 119.1 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2381, allocations: 231.6 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.2387, allocations: 0.5334 MB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2389, allocations: 111.1 kB / 414.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.2392, allocations: 199.4 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.2395, allocations: 223.1 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.2396, allocations: 48 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.2397, allocations: 48 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.2398, allocations: 99.66 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.2401, allocations: 207 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.2406, allocations: 0.4941 MB / 416.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2406, allocations: 4 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2406, allocations: 0 / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.2406, allocations: 0 / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001793/0.2424, allocations: 0.7402 MB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2425, allocations: 12.03 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.2426, allocations: 40.7 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.2431, allocations: 343.6 kB / 417.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2432, allocations: 80.52 kB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.2433, allocations: 24.38 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.2437, allocations: 291.9 kB / 417.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2438, allocations: 7.891 kB / 417.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2438, allocations: 15.98 kB / 417.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.2438, allocations: 4 kB / 417.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.2442, allocations: 165.2 kB / 417.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.247, allocations: 1.469 MB / 419.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.2472, allocations: 101.2 kB / 419.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2473, allocations: 49.83 kB / 419.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2474, allocations: 0 / 419.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2474, allocations: 46.5 kB / 419.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2474, allocations: 0 / 419.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.003184/0.2506, allocations: 1.072 MB / 420.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2507, allocations: 106.8 kB / 420.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.251, allocations: 332.4 kB / 421 MB, free: 6.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.2511, allocations: 29.7 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2512, allocations: 204.5 kB / 421.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.2513, allocations: 55.53 kB / 421.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2514, allocations: 77.64 kB / 421.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2515, allocations: 334.8 kB / 421.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2519, allocations: 151.9 kB / 421.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.2523, allocations: 250.9 kB / 422 MB, free: 5.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.253, allocations: 350.1 kB / 422.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.253, allocations: 3.938 kB / 422.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01/0.263, allocations: 1.322 MB / 423.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.263, allocations: 8.062 kB / 423.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2631, allocations: 4 kB / 423.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/0.2749, allocations: 1.149 MB / 424.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.2755, allocations: 75.86 kB / 424.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.2871, allocations: 5.336 MB / 430.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.2877, allocations: 39.97 kB / 430.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.2878, allocations: 19.92 kB / 430.3 MB, free: 12.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (integrator2.local_reset,integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,1), (4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.288, allocations: 145.8 kB / 430.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.2881, allocations: 27.81 kB / 430.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.2881, allocations: 30.61 kB / 430.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2881, allocations: 3.984 kB / 430.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2882, allocations: 4 kB / 430.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.2882, allocations: 104.9 kB / 430.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.2883, allocations: 11.92 kB / 430.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.2888, allocations: 23.98 kB / 430.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.2888, allocations: 15.97 kB / 430.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009209/0.2898, allocations: 408 kB / 431.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008649/0.2906, allocations: 0.6031 MB / 431.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002309/0.2909, allocations: 91.97 kB / 431.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.2911, allocations: 227.1 kB / 432 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.2911, allocations: 3.938 kB / 432 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.2934, allocations: 0.7437 MB / 432.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of SimCode: time 0.001261/0.2947, allocations: 1.079 MB / 433.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Templates: time 0.0159/0.3106, allocations: 10.31 MB / 444.1 MB, free: 14.5 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe 2>&1)