Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001326, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001015, allocations: 100.5 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2784, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00342/0.2819, allocations: 2.759 MB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.2829, allocations: 0.694 MB / 410.5 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.283, allocations: 7.938 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2832, allocations: 35.75 kB / 410.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2833, allocations: 59.47 kB / 410.6 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.2836, allocations: 95.83 kB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.2839, allocations: 342.6 kB / 411 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.2841, allocations: 81.62 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2844, allocations: 135.5 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2846, allocations: 151.4 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.2846, allocations: 16 kB / 411.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.2847, allocations: 28 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.2847, allocations: 59.8 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.2848, allocations: 135.2 kB / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2851, allocations: 332.4 kB / 412 MB, free: 22.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2851, allocations: 0 / 412 MB, free: 22.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2851, allocations: 0 / 412 MB, free: 22.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2852, allocations: 3.938 kB / 412 MB, free: 22.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001338/0.2865, allocations: 0.6393 MB / 412.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2865, allocations: 12.03 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.2867, allocations: 40.55 kB / 412.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.287, allocations: 256.7 kB / 412.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2871, allocations: 12.81 kB / 412.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.2871, allocations: 24.36 kB / 412.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.2877, allocations: 302.9 kB / 413.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2877, allocations: 0 / 413.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2877, allocations: 8 kB / 413.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2877, allocations: 8 kB / 413.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.2885, allocations: 265.6 kB / 413.5 MB, free: 21.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.2899, allocations: 1.069 MB / 414.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.2916, allocations: 434.3 kB / 415 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.292, allocations: 152.8 kB / 415.2 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.292, allocations: 7.938 kB / 415.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2921, allocations: 30.56 kB / 415.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.2921, allocations: 0 / 415.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.004597/0.2967, allocations: 1.026 MB / 416.2 MB, free: 18.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2967, allocations: 59.34 kB / 416.3 MB, free: 18.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2969, allocations: 216.2 kB / 416.5 MB, free: 18.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2969, allocations: 29.7 kB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.297, allocations: 156.1 kB / 416.7 MB, free: 17.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.2971, allocations: 47.3 kB / 416.7 MB, free: 17.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.2971, allocations: 41.61 kB / 416.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.2972, allocations: 334.8 kB / 417.1 MB, free: 17.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.2975, allocations: 99.94 kB / 417.2 MB, free: 17.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.2979, allocations: 128.3 kB / 417.3 MB, free: 17.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.2985, allocations: 229.5 kB / 417.5 MB, free: 17.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2985, allocations: 0 / 417.5 MB, free: 17.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002654/0.3011, allocations: 0.6411 MB / 418.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3012, allocations: 4 kB / 418.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3012, allocations: 0 / 418.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/0.3019, allocations: 220.6 kB / 418.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.302, allocations: 39.97 kB / 418.4 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.3079, allocations: 2.485 MB / 420.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.3083, allocations: 35.86 kB / 420.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3083, allocations: 12.05 kB / 421 MB, free: 13.46 MB / 298.7 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.3085, allocations: 131.3 kB / 421.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.3086, allocations: 27.66 kB / 421.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.3086, allocations: 25.52 kB / 421.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3086, allocations: 0 / 421.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3086, allocations: 0 / 421.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3087, allocations: 4 kB / 421.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.309, allocations: 321.5 kB / 421.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.309, allocations: 4 kB / 421.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3091, allocations: 39.91 kB / 421.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.3097, allocations: 220.6 kB / 421.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3097, allocations: 4 kB / 421.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/0.3154, allocations: 2.474 MB / 424.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3154, allocations: 3.938 kB / 424.2 MB, free: 10.02 MB / 298.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02366/0.3391, allocations: 7.124 MB / 431.3 MB, free: 2.609 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.