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.001557/0.001557, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001654/0.001655, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.529/1.529, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001279/0.001279, allocations: 56.39 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09505, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00523/0.1003, allocations: 4.216 MB / 330.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1021, allocations: 0.9511 MB / 331.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1026, allocations: 8 kB / 331.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1029, allocations: 75.38 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.1035, allocations: 174.6 kB / 331.4 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1039, allocations: 139.8 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.1047, allocations: 0.7166 MB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.105, allocations: 188.2 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.1055, allocations: 262.9 kB / 332.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.1059, allocations: 322.5 kB / 333 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.106, allocations: 44 kB / 333 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1062, allocations: 44 kB / 333.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1063, allocations: 127.4 kB / 333.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.1067, allocations: 310.3 kB / 333.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.1072, allocations: 0.6733 MB / 334.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1073, allocations: 0 / 334.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1073, allocations: 0 / 334.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.1073, allocations: 0 / 334.2 MB, free: 12.61 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.001604/0.1089, allocations: 0.908 MB / 335.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.109, allocations: 12.03 kB / 335.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.1091, allocations: 64.19 kB / 335.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1095, allocations: 381.9 kB / 335.5 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.1096, allocations: 41.69 kB / 335.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.1097, allocations: 48.38 kB / 335.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.1106, allocations: 0.5454 MB / 336.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1106, allocations: 0 / 336.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.1106, allocations: 24 kB / 336.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1107, allocations: 12 kB / 336.2 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.1115, allocations: 447.7 kB / 336.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.1141, allocations: 2.046 MB / 338.7 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.115, allocations: 0.6415 MB / 339.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.1156, allocations: 402.2 kB / 339.7 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.1156, allocations: 12.55 kB / 339.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1157, allocations: 43.12 kB / 339.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.1157, allocations: 0 / 339.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004352/0.12, allocations: 2.028 MB / 341.8 MB, free: 4.629 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1201, allocations: 59.97 kB / 341.9 MB, free: 4.559 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1205, allocations: 365.6 kB / 342.2 MB, free: 4.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.1206, allocations: 37.7 kB / 342.3 MB, free: 4.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1207, allocations: 225.2 kB / 342.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.1209, allocations: 201 kB / 342.7 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1211, allocations: 94.23 kB / 342.8 MB, free: 3.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1212, allocations: 354.8 kB / 343.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.1215, allocations: 165 kB / 343.3 MB, free: 3.113 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1219, allocations: 215.8 kB / 343.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.1226, allocations: 380.9 kB / 343.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1226, allocations: 3.938 kB / 343.9 MB, free: 2.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001177/0.1238, allocations: 0.6695 MB / 344.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1238, allocations: 7.938 kB / 344.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1238, allocations: 0 / 344.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.1246, allocations: 259.2 kB / 344.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.1249, allocations: 63.89 kB / 344.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.1313, allocations: 6.777 MB / 351.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1317, allocations: 28.06 kB / 351.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.1317, allocations: 12 kB / 351.7 MB, free: 10.13 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 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.132, allocations: 170.3 kB / 351.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.1321, allocations: 51.44 kB / 351.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.1322, allocations: 64.94 kB / 351.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1322, allocations: 4 kB / 351.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.1322, allocations: 11.94 kB / 352 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1323, allocations: 0 / 352 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.1345, allocations: 1.345 MB / 353.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1345, allocations: 0 / 353.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.1348, allocations: 51.95 kB / 353.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006979/0.1355, allocations: 263 kB / 353.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1355, allocations: 12 kB / 353.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.1417, allocations: 6.781 MB / 360.4 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1418, allocations: 0 / 360.4 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.1435, allocations: 1.029 MB / 361.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.1437, allocations: 160.5 kB / 361.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.1438, allocations: 12 kB / 361.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1441, allocations: 16.45 kB / 361.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.1442, allocations: 56.48 kB / 361.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1443, allocations: 12 kB / 361.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1446, allocations: 255.2 kB / 361.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1446, allocations: 3.938 kB / 361.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.1455, allocations: 179.9 kB / 362.1 MB, free: 15 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.1456, allocations: 119.5 kB / 362.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1472, allocations: 1.025 MB / 363.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1473, allocations: 0 / 363.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.1484, allocations: 0.8375 MB / 364.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.149, allocations: 81.48 kB / 364.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.1514, allocations: 1.504 MB / 365.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.1519, allocations: 0.8714 MB / 366.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1521, allocations: 52.53 kB / 366.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.1521, allocations: 27.44 kB / 366.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1522, allocations: 0 / 366.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of Templates: time 0.01405/0.1662, allocations: 8.211 MB / 374.8 MB, free: 2.117 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)