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.006266/0.006266, allocations: 102.6 kB / 15.73 MB, free: 5.996 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.001237/0.001237, allocations: 190.3 kB / 16.67 MB, free: 5.914 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.336 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.001163/0.001163, allocations: 46.59 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003933/0.1189, allocations: 2.668 MB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1202, allocations: 0.7057 MB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1204, allocations: 4 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1206, allocations: 43.58 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1207, allocations: 79.27 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1211, allocations: 103.8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1214, allocations: 362.4 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1217, allocations: 104.6 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1219, allocations: 135.5 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1221, allocations: 163.3 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1221, allocations: 32 kB / 377.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.1222, allocations: 32 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.1223, allocations: 67.81 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1224, allocations: 143.3 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.1228, allocations: 338.9 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1228, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1228, allocations: 7.938 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1228, allocations: 0 / 378.1 MB, free: 12.31 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.001432/0.1243, allocations: 0.6432 MB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1243, allocations: 11.97 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1244, allocations: 28.66 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1248, allocations: 260.7 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1248, allocations: 16.75 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1249, allocations: 20.38 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1255, allocations: 302.9 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1255, allocations: 3.938 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1256, allocations: 12 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1256, allocations: 4 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.1263, allocations: 265.6 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1279, allocations: 1.062 MB / 380.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1298, allocations: 438.3 kB / 381.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.1301, allocations: 140.8 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1302, allocations: 0 / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1302, allocations: 46.5 kB / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1302, allocations: 0 / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004688/0.1349, allocations: 1.014 MB / 382.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.135, allocations: 55.41 kB / 382.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1352, allocations: 216.2 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1352, allocations: 29.7 kB / 382.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1353, allocations: 156.1 kB / 382.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1354, allocations: 63.22 kB / 382.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.1355, allocations: 33.69 kB / 382.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1356, allocations: 334.8 kB / 383.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.136, allocations: 103.9 kB / 383.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.1363, allocations: 126.7 kB / 383.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.137, allocations: 225.7 kB / 383.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.137, allocations: 0 / 383.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002714/0.1397, allocations: 0.6344 MB / 384.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1397, allocations: 4 kB / 384.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1397, allocations: 4 kB / 384.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.1405, allocations: 220.6 kB / 384.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1407, allocations: 35.97 kB / 384.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.1475, allocations: 2.735 MB / 387.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.1478, allocations: 39.84 kB / 387.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1479, allocations: 7.938 kB / 387.3 MB, free: 2.633 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.0001787/0.148, allocations: 137.8 kB / 387.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1481, allocations: 23.75 kB / 387.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.1482, allocations: 21.53 kB / 387.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1482, allocations: 4 kB / 387.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1482, allocations: 0 / 387.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1482, allocations: 7.984 kB / 387.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1486, allocations: 321.3 kB / 387.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1486, allocations: 4 kB / 387.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1488, allocations: 31.97 kB / 387.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006211/0.1494, allocations: 216.7 kB / 388.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1495, allocations: 7.984 kB / 388.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.1559, allocations: 2.739 MB / 390.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1559, allocations: 0 / 390.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/0.159, allocations: 0.8434 MB / 391.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.1591, allocations: 96.86 kB / 391.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1592, allocations: 7.938 kB / 391.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.1594, allocations: 31.97 kB / 391.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.1595, allocations: 7.984 kB / 391.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1595, allocations: 7.984 kB / 391.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1597, allocations: 161.7 kB / 392 MB, free: 13.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1597, allocations: 0 / 392 MB, free: 13.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.1602, allocations: 79.84 kB / 392.1 MB, free: 13.66 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.0001526/0.1604, allocations: 115.1 kB / 392.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1619, allocations: 443 kB / 392.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1619, allocations: 0 / 392.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.163, allocations: 338.4 kB / 392.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1633, allocations: 32.66 kB / 393 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1647, allocations: 0.5567 MB / 393.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1651, allocations: 0.7437 MB / 394.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1652, allocations: 13.55 kB / 394.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1652, allocations: 15.44 kB / 394.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1652, allocations: 0 / 394.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.009306/0.1745, allocations: 4.975 MB / 399.3 MB, free: 6.352 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)