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.001545/0.001545, allocations: 112.1 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.002175/0.002175, allocations: 206.8 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.637/1.637, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 50.53 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.004626/0.3148, allocations: 2.889 MB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3166, allocations: 0.8885 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.3168, allocations: 11.94 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3171, allocations: 47.45 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3174, allocations: 119.2 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3178, allocations: 227.6 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.3183, allocations: 0.5373 MB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.3186, allocations: 107.1 kB / 414.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3188, allocations: 195.3 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3191, allocations: 227.1 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.3191, allocations: 44 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.677e-05/0.3192, allocations: 48 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.3193, allocations: 107.6 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.3195, allocations: 199 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.32, allocations: 0.4916 MB / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.32, allocations: 0 / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.32, allocations: 3.984 kB / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.32, allocations: 0 / 416.1 MB, free: 11.45 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.001721/0.3217, allocations: 0.7405 MB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3218, allocations: 15.91 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.3219, allocations: 40.47 kB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.3224, allocations: 331.4 kB / 417.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3225, allocations: 88.52 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.3226, allocations: 24.38 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.3231, allocations: 279.9 kB / 417.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3231, allocations: 7.938 kB / 417.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.3232, allocations: 8 kB / 417.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3232, allocations: 12 kB / 417.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.3235, allocations: 173.2 kB / 417.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.3264, allocations: 1.461 MB / 419.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3266, allocations: 101.2 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3267, allocations: 53.77 kB / 419.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3268, allocations: 0 / 419.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3268, allocations: 38.56 kB / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3268, allocations: 0 / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.003905/0.3307, allocations: 1.068 MB / 420.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3308, allocations: 106.8 kB / 420.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.3311, allocations: 332.3 kB / 420.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.3312, allocations: 29.7 kB / 420.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3314, allocations: 204 kB / 421.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.3314, allocations: 51.28 kB / 421.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.3316, allocations: 77.56 kB / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3317, allocations: 338.8 kB / 421.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.3321, allocations: 155.9 kB / 421.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.3325, allocations: 251.8 kB / 422 MB, free: 5.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.3332, allocations: 346.1 kB / 422.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3333, allocations: 4 kB / 422.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01051/0.3438, allocations: 1.31 MB / 423.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3438, allocations: 4 kB / 423.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3439, allocations: 4 kB / 423.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/0.3564, allocations: 1.157 MB / 424.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.3569, allocations: 71.88 kB / 424.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.3691, allocations: 5.336 MB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.3699, allocations: 35.97 kB / 430.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.37, allocations: 19.92 kB / 430.3 MB, free: 12.47 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.0002637/0.3703, allocations: 157.7 kB / 430.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3704, allocations: 27.62 kB / 430.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.3704, allocations: 30.61 kB / 430.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3704, allocations: 0 / 430.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3704, allocations: 3.938 kB / 430.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3705, allocations: 104.8 kB / 430.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.3706, allocations: 3.938 kB / 430.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.371, allocations: 27.98 kB / 430.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.3711, allocations: 16.06 kB / 430.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009474/0.3721, allocations: 419.8 kB / 431 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008608/0.3729, allocations: 0.5914 MB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002268/0.3732, allocations: 96.03 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.3735, allocations: 219.1 kB / 431.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Backend: time 1.403e-06/0.3735, allocations: 3.938 kB / 432 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.376, allocations: 0.7553 MB / 432.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of SimCode: time 0.001562/0.3775, allocations: 1.057 MB / 433.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Templates: time 0.01886/0.3964, allocations: 10.31 MB / 444.1 MB, free: 14.57 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)