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.001774/0.001774, allocations: 92.53 kB / 16.3 MB, free: 5.621 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.002603/0.002603, allocations: 186.3 kB / 17.2 MB, free: 5.555 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.633/1.633, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0005118/0.0005121, allocations: 12 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 47.58 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004613/0.1161, allocations: 3.379 MB / 331.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1185, allocations: 0.9634 MB / 332 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.1192, allocations: 8 kB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1197, allocations: 67.44 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.121, allocations: 223.3 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.1216, allocations: 123.8 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.123, allocations: 492 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.1235, allocations: 166.5 kB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.1242, allocations: 235.1 kB / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.1251, allocations: 282.8 kB / 333.6 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.1253, allocations: 32 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1255, allocations: 36 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1257, allocations: 115.6 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.126, allocations: 133.4 kB / 333.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.1266, allocations: 0.5063 MB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1266, allocations: 0 / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1266, allocations: 0 / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.1267, allocations: 0 / 334.4 MB, free: 13.35 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.002035/0.1287, allocations: 0.8223 MB / 335.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.1288, allocations: 8.031 kB / 335.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.1291, allocations: 75.16 kB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.1298, allocations: 364.9 kB / 335.7 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.1299, allocations: 45.25 kB / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.13, allocations: 48 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1313, allocations: 0.5414 MB / 336.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.1313, allocations: 0 / 336.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.1314, allocations: 20 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.1315, allocations: 16 kB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1327, allocations: 455.7 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.1359, allocations: 2.057 MB / 338.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1369, allocations: 0.6454 MB / 339.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.137, allocations: 16.48 kB / 339.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.137, allocations: 43.12 kB / 339.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 3.156e-06/0.1371, allocations: 0 / 339.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004413/0.1415, allocations: 2.049 MB / 341.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1415, allocations: 55.97 kB / 341.6 MB, free: 5.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.1419, allocations: 369.6 kB / 342 MB, free: 5.359 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.142, allocations: 37.7 kB / 342 MB, free: 5.316 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.1422, allocations: 229.1 kB / 342.3 MB, free: 5.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1423, allocations: 197.1 kB / 342.5 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.1423, allocations: 12 kB / 342.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1425, allocations: 362.8 kB / 342.8 MB, free: 4.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1428, allocations: 173 kB / 343 MB, free: 4.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.1432, allocations: 211.8 kB / 343.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1435, allocations: 182.2 kB / 343.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1435, allocations: 4 kB / 343.4 MB, free: 3.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001182/0.1447, allocations: 0.6773 MB / 344.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1448, allocations: 4 kB / 344.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1448, allocations: 4 kB / 344.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.1455, allocations: 255.2 kB / 344.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1458, allocations: 63.95 kB / 344.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006398/0.1522, allocations: 6.84 MB / 351.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.1526, allocations: 24.02 kB / 351.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.1526, allocations: 16 kB / 351.3 MB, free: 11.51 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.0002742/0.1529, allocations: 169.8 kB / 351.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.153, allocations: 51.44 kB / 351.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1531, allocations: 68.94 kB / 351.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1531, allocations: 15.94 kB / 351.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1532, allocations: 0 / 351.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1532, allocations: 0 / 351.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.1552, allocations: 1.345 MB / 352.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1552, allocations: 7.984 kB / 352.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.1555, allocations: 59.91 kB / 353 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.1561, allocations: 255.1 kB / 353.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1562, allocations: 16.5 kB / 353.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.1624, allocations: 6.836 MB / 360.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1624, allocations: 0 / 360.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.1642, allocations: 1.041 MB / 361.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.1645, allocations: 164.4 kB / 361.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.1645, allocations: 15.95 kB / 361.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1648, allocations: 23.92 kB / 361.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.1649, allocations: 56.48 kB / 361.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.165, allocations: 12 kB / 361.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1653, allocations: 255.2 kB / 361.6 MB, free: 472 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1653, allocations: 0 / 361.6 MB, free: 472 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.1662, allocations: 172 kB / 361.8 MB, free: 300 kB / 302.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.0002115/0.1664, allocations: 115.2 kB / 361.9 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.168, allocations: 1.041 MB / 362.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1681, allocations: 0 / 362.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.1692, allocations: 0.8415 MB / 363.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.1696, allocations: 73.52 kB / 363.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.172, allocations: 1.518 MB / 365.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.1725, allocations: 0.8909 MB / 366.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.1727, allocations: 56.47 kB / 366.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.1728, allocations: 27.44 kB / 366.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1728, allocations: 0 / 366.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of Templates: time 0.01364/0.1865, allocations: 7.861 MB / 374.2 MB, free: 3.719 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: