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.009139/0.009139, allocations: 98.7 kB / 15.73 MB, free: 6.004 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.002052/0.002052, allocations: 191.4 kB / 16.67 MB, free: 5.922 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.672/1.672, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001516/0.001516, allocations: 46.22 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003989/0.1059, allocations: 2.66 MB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1071, allocations: 0.7057 MB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1072, allocations: 4 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1074, allocations: 39.58 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1076, allocations: 75.27 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1079, allocations: 115.7 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.1082, allocations: 354.5 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1084, allocations: 100.6 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1086, allocations: 139.5 kB / 377.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1088, allocations: 163.3 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.1089, allocations: 36 kB / 377.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.109, allocations: 28 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.109, allocations: 71.73 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1092, allocations: 147.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1095, allocations: 346.7 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1095, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1095, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1096, 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.001347/0.1109, allocations: 0.6507 MB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.111, allocations: 8.031 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.111, allocations: 32.75 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.1114, allocations: 260.9 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.1114, allocations: 20.81 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1115, allocations: 16.38 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.1122, allocations: 302.9 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1122, allocations: 4 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1122, allocations: 8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1122, allocations: 4 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.113, allocations: 269.5 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.1146, allocations: 1.062 MB / 380.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.1164, allocations: 438.3 kB / 381.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.1168, allocations: 140.8 kB / 381.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1168, allocations: 4 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1168, allocations: 38.56 kB / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1169, allocations: 0 / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004586/0.1214, allocations: 1.022 MB / 382.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1215, allocations: 51.41 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1217, allocations: 216.2 kB / 382.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1217, allocations: 29.7 kB / 382.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1219, allocations: 168.2 kB / 382.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.1219, allocations: 51.59 kB / 382.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.122, allocations: 33.7 kB / 382.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1221, allocations: 330.8 kB / 383.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.1224, allocations: 103.9 kB / 383.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1228, allocations: 122.8 kB / 383.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.1234, allocations: 241.7 kB / 383.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1234, allocations: 0 / 383.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002646/0.1261, allocations: 0.6346 MB / 384.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1261, allocations: 4 kB / 384.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1261, allocations: 0 / 384.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007297/0.1269, allocations: 220.7 kB / 384.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.127, allocations: 31.97 kB / 384.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.1334, allocations: 2.747 MB / 387.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.1336, allocations: 39.86 kB / 387.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1336, allocations: 4 kB / 387.4 MB, free: 2.629 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.0001625/0.1338, allocations: 137.8 kB / 387.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1339, allocations: 23.84 kB / 387.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1339, allocations: 25.53 kB / 387.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1339, allocations: 0 / 387.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1339, allocations: 4 kB / 387.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.134, allocations: 3.984 kB / 387.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.1343, allocations: 329.3 kB / 387.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1343, allocations: 0 / 387.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1345, allocations: 31.97 kB / 387.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006223/0.1351, allocations: 220.6 kB / 388.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1352, allocations: 8 kB / 388.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0062/0.1414, allocations: 2.735 MB / 390.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1414, allocations: 4 kB / 390.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.1444, allocations: 0.8439 MB / 391.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1444, allocations: 100.9 kB / 391.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1445, allocations: 4 kB / 391.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1447, allocations: 27.97 kB / 391.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1448, allocations: 19.92 kB / 391.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1448, allocations: 3.984 kB / 391.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.145, allocations: 165.7 kB / 392 MB, free: 13.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 392 MB, free: 13.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.1454, allocations: 79.84 kB / 392.1 MB, free: 13.64 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.0001286/0.1455, allocations: 107.2 kB / 392.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.147, allocations: 458.3 kB / 392.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.147, allocations: 0 / 392.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.148, allocations: 338.5 kB / 393 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1484, allocations: 32.66 kB / 393 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1497, allocations: 0.5441 MB / 393.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.15, allocations: 0.7553 MB / 394.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.1501, allocations: 17.48 kB / 394.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1502, allocations: 15.44 kB / 394.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1502, allocations: 0 / 394.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Templates: time 0.009609/0.1598, allocations: 4.96 MB / 399.3 MB, free: 6.336 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)