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.01078/0.01078, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002565/0.002565, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001362/0.001362, allocations: 54.48 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.006279/0.1184, allocations: 2.668 MB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1202, allocations: 0.7018 MB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.1205, allocations: 4 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1208, allocations: 47.56 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.1213, allocations: 79.22 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.1218, allocations: 95.78 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.1225, allocations: 366.5 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.1227, allocations: 100.6 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.1232, allocations: 135.5 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.1235, allocations: 167.3 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.1236, allocations: 28 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.1237, allocations: 32 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.1237, allocations: 67.81 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1239, allocations: 155.2 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1243, allocations: 334.9 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1244, allocations: 4 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1244, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1244, allocations: 3.938 kB / 378.1 MB, free: 12.34 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.001609/0.126, allocations: 0.6354 MB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1261, allocations: 12.03 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1262, allocations: 28.66 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1266, allocations: 260.7 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1267, allocations: 12.81 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.1267, allocations: 24.36 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.1275, allocations: 306.9 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1275, allocations: 3.938 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1276, allocations: 8 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1276, allocations: 4 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.1284, allocations: 269.6 kB / 379.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1301, allocations: 1.062 MB / 380.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.1321, allocations: 430.3 kB / 381.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.1325, allocations: 156.7 kB / 381.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1325, allocations: 0 / 381.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1325, allocations: 34.56 kB / 381.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1325, allocations: 0 / 381.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004816/0.1374, allocations: 1.026 MB / 382.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1374, allocations: 51.41 kB / 382.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1376, allocations: 212.2 kB / 382.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1377, allocations: 33.64 kB / 382.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1378, allocations: 160.1 kB / 382.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.1378, allocations: 51.28 kB / 382.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.1379, allocations: 41.69 kB / 382.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1381, allocations: 330.8 kB / 383.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1384, allocations: 103.9 kB / 383.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1388, allocations: 125.6 kB / 383.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.1394, allocations: 229.7 kB / 383.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1394, allocations: 4 kB / 383.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002754/0.1422, allocations: 0.6305 MB / 384.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1422, allocations: 8 kB / 384.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1423, allocations: 0 / 384.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/0.1431, allocations: 216.6 kB / 384.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1433, allocations: 35.98 kB / 384.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.1501, allocations: 2.743 MB / 387.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1504, allocations: 35.84 kB / 387.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1504, allocations: 11.98 kB / 387.4 MB, free: 2.656 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.0001715/0.1506, allocations: 137.7 kB / 387.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.1507, allocations: 23.88 kB / 387.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.1507, allocations: 21.47 kB / 387.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1507, allocations: 7.984 kB / 387.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1507, allocations: 0 / 387.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1508, allocations: 0 / 387.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.1512, allocations: 325.3 kB / 387.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1512, allocations: 0 / 387.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1513, allocations: 27.98 kB / 387.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/0.1521, allocations: 220.7 kB / 388.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1521, allocations: 7.984 kB / 388.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/0.1584, allocations: 2.735 MB / 390.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1584, allocations: 0 / 390.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.1615, allocations: 0.8511 MB / 391.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.1616, allocations: 92.86 kB / 391.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1616, allocations: 8.047 kB / 391.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.1619, allocations: 31.98 kB / 391.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.162, allocations: 7.984 kB / 391.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.162, allocations: 7.984 kB / 391.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1622, allocations: 157.6 kB / 392 MB, free: 13.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1622, allocations: 4 kB / 392 MB, free: 13.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1627, allocations: 75.84 kB / 392.1 MB, free: 13.7 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.0001591/0.1628, allocations: 115.1 kB / 392.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1644, allocations: 450.3 kB / 392.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1644, allocations: 0 / 392.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.1655, allocations: 326.5 kB / 392.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1659, allocations: 32.66 kB / 393 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1674, allocations: 0.5612 MB / 393.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1677, allocations: 0.7359 MB / 394.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.1678, allocations: 17.55 kB / 394.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1679, allocations: 15.44 kB / 394.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1679, allocations: 0 / 394.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Templates: time 0.0104/0.1783, allocations: 5.147 MB / 399.4 MB, free: 6.215 MB / 334.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)