Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001158/0.001157, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001458/0.001457, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.992 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.001358/0.001358, allocations: 43.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003656/0.3111, allocations: 2.716 MB / 327.4 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3122, allocations: 0.7071 MB / 328.1 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3124, allocations: 11.91 kB / 328.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3126, allocations: 27.3 kB / 328.1 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3127, allocations: 66.52 kB / 328.2 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.313, allocations: 86.44 kB / 328.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.3133, allocations: 344.4 kB / 328.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.3135, allocations: 75.86 kB / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.3137, allocations: 124.1 kB / 328.8 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3139, allocations: 154.5 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.314, allocations: 18.78 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.3141, allocations: 19.03 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.3141, allocations: 54.48 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.3143, allocations: 139 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.3146, allocations: 325.5 kB / 329.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3146, allocations: 0 / 329.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3146, allocations: 4 kB / 329.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3146, allocations: 1.406 kB / 329.5 MB, free: 14.14 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.00157/0.3162, allocations: 0.6342 MB / 330.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.3163, allocations: 10.34 kB / 330.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.3164, allocations: 30 kB / 330.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.3167, allocations: 257.9 kB / 330.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3167, allocations: 20.38 kB / 330.5 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.3167, allocations: 16.75 kB / 330.5 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.3174, allocations: 298.3 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3175, allocations: 0 / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.3175, allocations: 18.09 kB / 330.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3175, allocations: 5.375 kB / 330.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.3183, allocations: 264.4 kB / 331.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3201, allocations: 1.072 MB / 332.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3222, allocations: 443.9 kB / 332.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.3226, allocations: 141.3 kB / 332.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3227, allocations: 1.156 kB / 332.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3227, allocations: 44.72 kB / 332.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 3.326e-06/0.3227, allocations: 7.922 kB / 332.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.005216/0.3279, allocations: 1.021 MB / 333.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.328, allocations: 51.41 kB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.3282, allocations: 216.2 kB / 334 MB, free: 10.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3283, allocations: 33.64 kB / 334.1 MB, free: 10.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3284, allocations: 160.1 kB / 334.2 MB, free: 10.37 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3285, allocations: 51.3 kB / 334.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.3286, allocations: 41.59 kB / 334.3 MB, free: 10.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3287, allocations: 326.8 kB / 334.6 MB, free: 9.941 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.329, allocations: 107.9 kB / 334.7 MB, free: 9.836 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.3294, allocations: 122.3 kB / 334.9 MB, free: 9.711 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.3301, allocations: 224.1 kB / 335.1 MB, free: 9.488 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3301, allocations: 4 kB / 335.1 MB, free: 9.484 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003009/0.3331, allocations: 0.6344 MB / 335.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.3331, allocations: 8 kB / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3332, allocations: 3.984 kB / 335.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008963/0.3341, allocations: 216.7 kB / 335.9 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3342, allocations: 35.92 kB / 336 MB, free: 8.578 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.3411, allocations: 2.482 MB / 338.5 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.3415, allocations: 39.78 kB / 338.5 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3415, allocations: 8 kB / 338.5 MB, free: 5.914 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 (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.0001733/0.3417, allocations: 133.8 kB / 338.6 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.3418, allocations: 23.73 kB / 338.7 MB, free: 5.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3418, allocations: 21.53 kB / 338.7 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3418, allocations: 4 kB / 338.7 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3419, allocations: 0 / 338.7 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3419, allocations: 7.922 kB / 338.7 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.3423, allocations: 325.3 kB / 339 MB, free: 5.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3423, allocations: 0 / 339 MB, free: 5.348 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3424, allocations: 39.91 kB / 339 MB, free: 5.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006715/0.3431, allocations: 224.7 kB / 339.3 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3432, allocations: 0 / 339.3 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006377/0.3495, allocations: 2.478 MB / 341.7 MB, free: 2.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3496, allocations: 0 / 341.7 MB, free: 2.473 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.353, allocations: 0.8478 MB / 342.6 MB, free: 1.605 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3532, allocations: 100.8 kB / 342.7 MB, free: 1.488 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.3532, allocations: 11.88 kB / 342.7 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.3535, allocations: 27.97 kB / 342.7 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.3536, allocations: 11.98 kB / 342.7 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3536, allocations: 7.984 kB / 342.7 MB, free: 1.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3538, allocations: 165.7 kB / 342.9 MB, free: 1.27 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3538, allocations: 0 / 342.9 MB, free: 1.27 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.3543, allocations: 75.84 kB / 343 MB, free: 1.195 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 (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 Backend phase and start with SimCode phase: time 0.0001586/0.3545, allocations: 99.25 kB / 343.1 MB, free: 1.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.3561, allocations: 449.3 kB / 343.5 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3561, allocations: 0 / 343.5 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3572, allocations: 338.4 kB / 343.8 MB, free: 300 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3576, allocations: 32.66 kB / 343.9 MB, free: 268 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.359, allocations: 0.6337 MB / 344.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3594, allocations: 0.7479 MB / 345.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.3595, allocations: 13.55 kB / 345.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.3595, allocations: 19.38 kB / 345.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3595, allocations: 4 kB / 345.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Templates: time 0.009346/0.3689, allocations: 4.635 MB / 349.9 MB, free: 10.16 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)