Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007955/0.007955, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001572/0.001572, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.679/1.679, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001831/0.001831, allocations: 51.17 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004365/0.1265, allocations: 2.668 MB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.128, allocations: 0.698 MB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.1283, allocations: 7.938 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1285, allocations: 39.58 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1288, allocations: 83.27 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1291, allocations: 99.78 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.1295, allocations: 362.5 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1297, allocations: 96.58 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.13, allocations: 147.5 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1302, allocations: 159.4 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.1303, allocations: 32 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.1303, allocations: 32 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1304, allocations: 71.8 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1305, allocations: 147.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1309, allocations: 342.8 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1309, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1309, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1309, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.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.001581/0.1325, allocations: 0.6393 MB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1326, allocations: 11.97 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.1327, allocations: 28.66 kB / 378.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.1332, allocations: 264.6 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1332, allocations: 16.75 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1333, allocations: 20.38 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.134, allocations: 306.9 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1341, allocations: 0 / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1341, allocations: 8 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1341, allocations: 4 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.135, allocations: 269.5 kB / 379.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1372, allocations: 1.062 MB / 380.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.1391, allocations: 434.3 kB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.1396, allocations: 144.8 kB / 381.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1397, allocations: 4 kB / 381.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1397, allocations: 34.56 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.1397, allocations: 0 / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005102/0.1448, allocations: 1.026 MB / 382.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1449, allocations: 51.41 kB / 382.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1452, allocations: 212.2 kB / 382.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1452, allocations: 29.7 kB / 382.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1454, allocations: 164.1 kB / 382.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1454, allocations: 51.23 kB / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.1455, allocations: 37.7 kB / 382.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1457, allocations: 330.8 kB / 383.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.146, allocations: 107.9 kB / 383.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.1464, allocations: 126.7 kB / 383.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.1471, allocations: 233.7 kB / 383.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1471, allocations: 0 / 383.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00286/0.1499, allocations: 0.6305 MB / 384.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.15, allocations: 8 kB / 384.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.15, allocations: 0 / 384.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.1508, allocations: 220.7 kB / 384.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.151, allocations: 39.91 kB / 384.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.158, allocations: 2.739 MB / 387.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.1583, allocations: 35.84 kB / 387.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1583, allocations: 11.94 kB / 387.4 MB, free: 2.641 MB / 318.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.0001966/0.1586, allocations: 141.8 kB / 387.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.1586, allocations: 15.81 kB / 387.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.1587, allocations: 17.53 kB / 387.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1587, allocations: 4 kB / 387.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1587, allocations: 0 / 387.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1587, allocations: 3.984 kB / 387.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.1591, allocations: 325.3 kB / 387.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1591, allocations: 0 / 387.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1593, allocations: 43.91 kB / 387.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/0.16, allocations: 212.7 kB / 388.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.1601, allocations: 3.984 kB / 388.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/0.1671, allocations: 2.735 MB / 390.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1671, allocations: 0 / 390.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.1703, allocations: 0.8473 MB / 391.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.1704, allocations: 100.8 kB / 391.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1705, allocations: 7.938 kB / 391.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1708, allocations: 31.97 kB / 391.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1708, allocations: 7.984 kB / 391.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1708, allocations: 7.984 kB / 391.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.171, allocations: 165.7 kB / 392 MB, free: 13.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.171, allocations: 0 / 392 MB, free: 13.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.1715, allocations: 75.84 kB / 392.1 MB, free: 13.68 MB / 334.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.000195/0.1717, allocations: 111.2 kB / 392.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.1733, allocations: 447 kB / 392.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1733, allocations: 0 / 392.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1744, allocations: 338.4 kB / 393 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1748, allocations: 32.64 kB / 393 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1763, allocations: 0.5567 MB / 393.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1766, allocations: 0.7437 MB / 394.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.1767, allocations: 13.55 kB / 394.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.1768, allocations: 15.44 kB / 394.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1768, allocations: 0 / 394.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of Templates: time 0.01008/0.1869, allocations: 4.967 MB / 399.3 MB, free: 6.371 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)