Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 93.86 kB / 16.32 MB, free: 5.559 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.0009342/0.0009341, allocations: 181.2 kB / 17.21 MB, free: 5.48 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.445/1.445, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.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.0004757/0.0004757, allocations: 15.44 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1003, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004059/0.1045, allocations: 3.615 MB / 331.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1065, allocations: 0.9241 MB / 332.3 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.1069, allocations: 8 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1071, allocations: 75.38 kB / 332.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.1076, allocations: 170.7 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1079, allocations: 111.9 kB / 332.6 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.1086, allocations: 0.6853 MB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.109, allocations: 174.5 kB / 333.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.1093, allocations: 235.1 kB / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.1097, allocations: 286.7 kB / 334 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.1098, allocations: 36 kB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.1099, allocations: 40 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.11, allocations: 115.5 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1101, allocations: 137.4 kB / 334.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.1106, allocations: 0.5024 MB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1107, allocations: 0 / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1107, allocations: 0 / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1107, allocations: 0 / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001273/0.112, allocations: 0.8262 MB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.112, allocations: 8.031 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1121, allocations: 67.16 kB / 335.7 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1125, allocations: 368.9 kB / 336.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.1126, allocations: 41.27 kB / 336.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.1127, allocations: 48 kB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.1136, allocations: 0.5453 MB / 336.7 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1136, allocations: 0 / 336.7 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.1136, allocations: 20 kB / 336.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1137, allocations: 12 kB / 336.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.1145, allocations: 467.6 kB / 337.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.1172, allocations: 2.057 MB / 339.2 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.1181, allocations: 0.6454 MB / 339.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.1188, allocations: 406.2 kB / 340.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.1188, allocations: 12.55 kB / 340.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1189, allocations: 35.12 kB / 340.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 2.875e-06/0.1189, allocations: 0 / 340.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004159/0.123, allocations: 2.063 MB / 342.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1231, allocations: 59.97 kB / 342.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.1235, allocations: 357.6 kB / 342.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1235, allocations: 41.7 kB / 342.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1237, allocations: 237.1 kB / 343.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1238, allocations: 197 kB / 343.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.1238, allocations: 8 kB / 343.3 MB, free: 4.078 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.124, allocations: 358.8 kB / 343.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.1243, allocations: 173 kB / 343.8 MB, free: 3.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1247, allocations: 215.8 kB / 344 MB, free: 3.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.125, allocations: 178.2 kB / 344.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.125, allocations: 0 / 344.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001144/0.1262, allocations: 0.6812 MB / 344.9 MB, free: 2.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1262, allocations: 4 kB / 344.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1262, allocations: 0 / 344.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/0.1269, allocations: 259.2 kB / 345.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1272, allocations: 71.89 kB / 345.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.1331, allocations: 6.785 MB / 352 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.1334, allocations: 16.03 kB / 352 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.1335, allocations: 19.98 kB / 352 MB, free: 10.75 MB / 302.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: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.1337, allocations: 169.9 kB / 352.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.1338, allocations: 51.5 kB / 352.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.134, allocations: 64.91 kB / 352.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.134, allocations: 8 kB / 352.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.134, allocations: 0 / 352.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.134, allocations: 7.984 kB / 352.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1362, allocations: 1.345 MB / 353.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1362, allocations: 0 / 353.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.1365, allocations: 67.89 kB / 353.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006468/0.1371, allocations: 251.1 kB / 354 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1372, allocations: 12 kB / 354 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/0.1433, allocations: 6.785 MB / 360.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1434, allocations: 0 / 360.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.145, allocations: 1.037 MB / 361.8 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.1453, allocations: 164.4 kB / 362 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.1454, allocations: 15.98 kB / 362 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1456, allocations: 16 kB / 362 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.1458, allocations: 64.45 kB / 362.1 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.1458, allocations: 15.98 kB / 362.1 MB, free: 24 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.1461, allocations: 251.2 kB / 362.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1461, allocations: 0 / 362.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008902/0.147, allocations: 176.5 kB / 362.5 MB, free: 15.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.1472, allocations: 115.2 kB / 362.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1488, allocations: 1.033 MB / 363.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1488, allocations: 4 kB / 363.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.1499, allocations: 0.8491 MB / 364.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.1505, allocations: 89.42 kB / 364.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.1529, allocations: 1.525 MB / 366.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.1534, allocations: 0.8754 MB / 367 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1535, allocations: 52.55 kB / 367 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.1536, allocations: 27.44 kB / 367 MB, free: 10.88 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1536, allocations: 0 / 367 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Templates: time 0.01391/0.1676, allocations: 7.858 MB / 374.9 MB, free: 3.027 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)